changeset 2868 | ccb20ecd3503 |
parent 2867 | 9be6693c78cb |
child 3435 | 4e4f88a7bdf2 |
--- a/gameServer/HWProtoNEState.hs Thu Feb 25 18:28:33 2010 +0000 +++ b/gameServer/HWProtoNEState.hs Thu Feb 25 18:34:30 2010 +0000 @@ -47,8 +47,8 @@ adminNotice = [AnswerThisClient ["ADMIN_ACCESS"] | isAdministrator client] ---handleCmd_NotEntered _ _ _ ["DUMP"] = --- [Dump] +handleCmd_NotEntered clID clients _ ["DUMP"] = + if isAdministrator (clients IntMap.! clID) then [Dump] else [] handleCmd_NotEntered clID _ _ _ = [ProtocolError "Incorrect command (state: not entered)"]