gameServer/HWProtoCore.hs
changeset 1841 fba7210b438b
parent 1814 e5391d901cff
child 1862 7f303aa066da
--- a/gameServer/HWProtoCore.hs	Tue Feb 24 21:47:17 2009 +0000
+++ b/gameServer/HWProtoCore.hs	Wed Feb 25 17:12:32 2009 +0000
@@ -25,7 +25,7 @@
 		removeClientTeams = map (RemoveTeam . teamname) clientTeams
 
 handleCmd clID clients rooms cmd =
-	if null (nick client) || clientProto client == 0 then
+	if not $ logonPassed client then
 		handleCmd_NotEntered clID clients rooms cmd
 	else if roomID client == 0 then
 		handleCmd_lobby clID clients rooms cmd