gameServer/HWProtoLobbyState.hs
changeset 13841 b2cc4e4e380c
parent 13834 346cba4465b9
child 14381 32e8c81ca35c
--- a/gameServer/HWProtoLobbyState.hs	Wed Sep 05 20:09:32 2018 +0200
+++ b/gameServer/HWProtoLobbyState.hs	Thu Oct 04 21:17:21 2018 +0200
@@ -226,4 +226,6 @@
 handleCmd_lobby ["STATS"] = serverAdminOnly $
     return [Stats]
 
-handleCmd_lobby _ = return [ProtocolError "Incorrect command (state: in lobby)"]
+handleCmd_lobby (s:_) = return [ProtocolError $ "Incorrect command '" `B.append` s `B.append` "' (state: in lobby)"]
+
+handleCmd_lobby [] = return [ProtocolError "Empty command (state: in lobby)"]
\ No newline at end of file