server crash fix

This commit is contained in:
Max-Wilhelm Bruker
2011-03-22 18:31:26 +01:00
parent 3f5035c38c
commit 4548841a93
3 changed files with 2 additions and 2 deletions

View File

@@ -353,7 +353,6 @@ ResponseCode Server_ProtocolHandler::cmdJoinRoom(Command_JoinRoom *cmd, CommandC
return RespNameNotFound;
r->addClient(this);
connect(r, SIGNAL(gameCreated(Server_Game *)), this, SLOT(gameCreated(Server_Game *)));
rooms.insert(r->getId(), r);
enqueueProtocolItem(new Event_RoomSay(r->getId(), QString(), r->getJoinMessage()));