# HG changeset patch # User alfadur # Date 1538674008 14400 # Node ID ff468792298ac4a44f6700a137eeb8a62b905271 # Parent 664935d80668b4be5f8df7cd28beb4cc0b4d5dff# Parent acb8b5530aa847a94421826d58384b05a9173335 merge diff -r 664935d80668 -r ff468792298a gameServer/HWProtoLobbyState.hs --- a/gameServer/HWProtoLobbyState.hs Thu Oct 04 19:12:09 2018 +0200 +++ b/gameServer/HWProtoLobbyState.hs Thu Oct 04 13:26:48 2018 -0400 @@ -227,3 +227,5 @@ return [Stats] 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 diff -r 664935d80668 -r ff468792298a gameServer/HWProtoNEState.hs --- a/gameServer/HWProtoNEState.hs Thu Oct 04 19:12:09 2018 +0200 +++ b/gameServer/HWProtoNEState.hs Thu Oct 04 13:26:48 2018 -0400 @@ -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