fix: 一处逻辑错误
This commit is contained in:
@@ -92,7 +92,7 @@ func Login(c *Conf) error {
|
|||||||
}
|
}
|
||||||
G.LoginResult = result.(string)
|
G.LoginResult = result.(string)
|
||||||
|
|
||||||
if G.LoginResult == "ok" {
|
if G.LoginResult != "ok" {
|
||||||
return errors.New(G.LoginResult)
|
return errors.New(G.LoginResult)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user