Skip to content

Commit

Permalink
dumb error
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerbarnes committed Oct 19, 2023
1 parent 71b05d0 commit 60ef4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ServerHub.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 60ef4de

Please sign in to comment.