..and for logging in handler
authoralfadur
Thu, 04 Oct 2018 20:04:32 +0300
changeset 13856 acb8b5530aa8
parent 13855 346cba4465b9
child 13859 ff468792298a
..and for logging in handler
gameServer/HWProtoNEState.hs
--- a/gameServer/HWProtoNEState.hs	Thu Oct 04 19:57:53 2018 +0300
+++ b/gameServer/HWProtoNEState.hs	Thu Oct 04 20:04:32 2018 +0300
@@ -102,3 +102,5 @@
 #endif
 
 handleCmd_NotEntered (s:_) = return [ProtocolError $ "Incorrect command '" `B.append` s `B.append` "' (state: not entered)"]
+
+handleCmd_NotEntered [] = return [ProtocolError "Empty command (state: not entered)"]
\ No newline at end of file