# HG changeset patch
# User alfadur
# Date 1538672273 -10800
# Node ID 346cba4465b9311663f3742339aae94d3d2abd38
# Parent  b07610de9957289000ba02131d3f1efcdd0f5108
Add missing base case for lobby handler

diff -r b07610de9957 -r 346cba4465b9 gameServer/HWProtoLobbyState.hs
--- a/gameServer/HWProtoLobbyState.hs	Thu Oct 04 17:55:08 2018 +0200
+++ b/gameServer/HWProtoLobbyState.hs	Thu Oct 04 19:57:53 2018 +0300
@@ -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