gameServer/HWProtoCore.hs
changeset 11033 2a5520837036
parent 10882 ed7717f659ae
child 11046 47a8c19ecb60
--- a/gameServer/HWProtoCore.hs	Sat Aug 01 00:09:59 2015 +0300
+++ b/gameServer/HWProtoCore.hs	Sat Aug 01 00:13:05 2015 +0300
@@ -79,6 +79,7 @@
         h "FORCE" msg | not $ B.null msg = handleCmd ["VOTE", upperCase msg, "FORCE"]
         h "MAXTEAMS" n | not $ B.null n = handleCmd ["MAXTEAMS", n]
         h "INFO" n | not $ B.null n = handleCmd ["INFO", n]
+        h "RESTART_SERVER" "YES" = handleCmd ["RESTART_SERVER"]
         h c p = return [Warning $ B.concat ["Unknown cmd: /", c, " ", p]]
 
         extractParameters p = let (a, b) = B.break (== ' ') p in (upperCase a, B.dropWhile (== ' ') b)