mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
fix(emozi): login
This commit is contained in:
parent
50be1bbe68
commit
ef3fa92de3
@ -45,8 +45,8 @@ func init() {
|
|||||||
out, chs, err := usr.Marshal(false, txt)
|
out, chs, err := usr.Marshal(false, txt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if hasaccount {
|
if hasaccount {
|
||||||
err = usr.Login()
|
err2 := usr.Login()
|
||||||
if err == nil {
|
if err2 == nil {
|
||||||
out, chs, err = usr.Marshal(false, txt)
|
out, chs, err = usr.Marshal(false, txt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -84,8 +84,8 @@ func init() {
|
|||||||
out, err := usr.Unmarshal(false, txt)
|
out, err := usr.Unmarshal(false, txt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if hasaccount {
|
if hasaccount {
|
||||||
err = usr.Login()
|
err2 := usr.Login()
|
||||||
if err == nil {
|
if err2 == nil {
|
||||||
out, err = usr.Unmarshal(false, txt)
|
out, err = usr.Unmarshal(false, txt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user