gameServer/HWProtoCore.hs
changeset 14386 32e8c81ca35c
parent 14385 8ad85859dd3f
--- a/gameServer/HWProtoCore.hs	Sat Dec 08 14:19:11 2018 +0100
+++ b/gameServer/HWProtoCore.hs	Sat Dec 08 14:22:24 2018 +0100
@@ -107,7 +107,7 @@
 
         -- lobby-only commands
         h "STATS" _ = handleCmd_lobbyOnly ["STATS"]
-        h "RESTART_SERVER" "YES" = handleCmd_lobbyOnly ["RESTART_SERVER"]
+        h "RESTART_SERVER" p = handleCmd_lobbyOnly ["RESTART_SERVER", upperCase p]
 
         -- room and lobby commands
         h "QUIT" _ = handleCmd ["QUIT"]