fix: 一处逻辑错误

This commit is contained in:
Mmx233
2022-10-21 14:05:18 +08:00
parent bb6803e04c
commit 93dfeab8e1

View File

@@ -92,7 +92,7 @@ func Login(c *Conf) error {
}
G.LoginResult = result.(string)
if G.LoginResult == "ok" {
if G.LoginResult != "ok" {
return errors.New(G.LoginResult)
}