Fix logout command
This commit is contained in:
parent
4d5e43a039
commit
cf358a572c
|
@ -278,6 +278,7 @@ func (handler *CommandHandler) CommandLogout(ce *CommandEvent) {
|
|||
}
|
||||
}
|
||||
ce.Reply("Logged out successfully.")
|
||||
ce.User.Conn.LoginInfo = nil
|
||||
if ce.User.Conn.Refresh != nil {
|
||||
ce.User.Conn.Refresh <- -1
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue