gameServer/HWProtoCore.hs
changeset 14118 589a752c01ca
parent 13846 d8e606cf8ff5
child 14380 8ad85859dd3f
equal deleted inserted replaced
14117:d6915d15b6de 14118:589a752c01ca
   101         h "VOTE" msg | not $ B.null msg = handleCmd_roomOnly ["VOTE", upperCase msg]
   101         h "VOTE" msg | not $ B.null msg = handleCmd_roomOnly ["VOTE", upperCase msg]
   102                      | otherwise = handleCmd_roomOnly ["VOTE", ""]
   102                      | otherwise = handleCmd_roomOnly ["VOTE", ""]
   103         h "FORCE" msg | not $ B.null msg = handleCmd_roomOnly ["VOTE", upperCase msg, "FORCE"]
   103         h "FORCE" msg | not $ B.null msg = handleCmd_roomOnly ["VOTE", upperCase msg, "FORCE"]
   104                       | otherwise = handleCmd_roomOnly ["VOTE", "", "FORCE"]
   104                       | otherwise = handleCmd_roomOnly ["VOTE", "", "FORCE"]
   105         h "MAXTEAMS" n | not $ B.null n = handleCmd_roomOnly ["MAXTEAMS", n]
   105         h "MAXTEAMS" n | not $ B.null n = handleCmd_roomOnly ["MAXTEAMS", n]
       
   106                        | otherwise = handleCmd_roomOnly ["MAXTEAMS"]
   106 
   107 
   107         -- lobby-only commands
   108         -- lobby-only commands
   108         h "STATS" _ = handleCmd_lobbyOnly ["STATS"]
   109         h "STATS" _ = handleCmd_lobbyOnly ["STATS"]
   109         h "RESTART_SERVER" "YES" = handleCmd_lobbyOnly ["RESTART_SERVER"]
   110         h "RESTART_SERVER" "YES" = handleCmd_lobbyOnly ["RESTART_SERVER"]
   110 
   111