From 60ef4dec8487ef48d5d172959ad79c3d34db3896 Mon Sep 17 00:00:00 2001 From: tannerbarnes Date: Thu, 19 Oct 2023 04:05:56 -0500 Subject: [PATCH] dumb error --- internal/ServerHub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ServerHub.go b/internal/ServerHub.go index f1adf7c..20b15f9 100644 --- a/internal/ServerHub.go +++ b/internal/ServerHub.go @@ -159,7 +159,7 @@ func (h *Hub) parseMessage(message *Message) error { h.clientRoomChangeHandler(message.sender, "server") case "ADD_ROOM_MESSAGE": roomTargetData := strings.Split(message.msg.Data, ":") - log.Printf("creating new room: %s with password : %s", roomTargetData[0], roomTargetData[1]) + //log.Printf("creating new room: %s with password : %s", roomTargetData[0], roomTargetData[1]) if _, ok := h.rooms[roomTargetData[0]]; ok { message.msg.MessageType = "ROOM_EXISTS_MESSAGE" h.sendMessageToClient(message)