From 403e28baa1051516a62329d9a5bd382288f6b933 Mon Sep 17 00:00:00 2001 From: zhaoYangguang <1163765691@qq.com> Date: Thu, 18 Feb 2021 17:55:15 +0800 Subject: [PATCH] better --- commands.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands.go b/commands.go index f3ff562..ad980dc 100644 --- a/commands.go +++ b/commands.go @@ -297,6 +297,10 @@ func (handler *CommandHandler) CommandLogout(ce *CommandEvent) { for _, portal := range allPortals { leave(portal) } + ce.User.Conn.Store = &skype.Store{ + Contacts: make(map[string]skype.Contact), + Chats: make(map[string]skype.Conversation), + } ce.Reply("Logged out successfully.") }