gameServer/HWProtoLobbyState.hs
changeset 13831 07b3dacd00f8
parent 13707 dc06ef77a73a
child 13839 346cba4465b9
--- a/gameServer/HWProtoLobbyState.hs	Thu Oct 04 14:18:38 2018 +0200
+++ b/gameServer/HWProtoLobbyState.hs	Thu Oct 04 14:36:42 2018 +0200
@@ -226,4 +226,4 @@
 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)"]