Disconnected 시그니처 변경

This commit is contained in:
2023-11-10 16:41:18 +09:00
parent 5fc64d7471
commit ca2f3b8794
3 changed files with 3 additions and 4 deletions

View File

@ -143,7 +143,7 @@ func (tv *Tavern) ClientConnected(conn *websocket.Conn, callby *wshandler.Sender
}
}
func (tv *Tavern) ClientDisconnected(conn *websocket.Conn, callby *wshandler.Sender) {
func (tv *Tavern) ClientDisconnected(msg string, callby *wshandler.Sender) {
tv.redison.Del(tv.redison.Context(), callby.Accid.Hex()).Result()
}