修改:zhub_client

This commit is contained in:
2024-03-06 17:39:23 +08:00
parent 9d85efce17
commit d471a3f508
4 changed files with 106 additions and 238 deletions

View File

@@ -98,7 +98,7 @@ func messageHandler(v Message) {
switch cmd {
case "auth":
userid, err := AuthManager.GetUserIdByToken(rcmd[1])
if err != nil {
if err != nil && Conf.Service.Auth {
c.send("-Error: " + err.Error())
return
}