diff --git a/GoBot/server/hub.go b/GoBot/server/hub.go index 0466861..1492b70 100644 --- a/GoBot/server/hub.go +++ b/GoBot/server/hub.go @@ -48,6 +48,7 @@ func ConnectUser(mcUsername string) { func DisconnectUser(mcUsername string) { delete(connectedUsers, mcUsername) + broadcast("leave " + mcUsername) } func RequestSync() {