gameServer/HWProtoCore.hs
changeset 14381 32e8c81ca35c
parent 14380 8ad85859dd3f
child 15983 2c92499daa67
--- 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"]