gameServer/HWProtoCore.hs
changeset 13692 70c8feb81d35
parent 13673 1aa5e884326a
child 13693 af208acaada6
--- a/gameServer/HWProtoCore.hs	Sat Aug 25 12:12:15 2018 +0200
+++ b/gameServer/HWProtoCore.hs	Sat Aug 25 17:43:29 2018 +0200
@@ -81,7 +81,8 @@
         h "GLOBAL" p = serverAdminOnly $ do
             rnc <- liftM snd ask
             let chans = map (sendChan . client rnc) $ allClients rnc
-            return [AnswerClients chans ["CHAT", "[global notice]", p]]
+            -- parenthesis instead of square brackets used to avoid accidental translation by frontend
+            return [AnswerClients chans ["CHAT", "(global notice)", p]]
         h "WATCH" f = return [QueryReplay f]
         h "FIX" _ = handleCmd ["FIX"]
         h "UNFIX" _ = handleCmd ["UNFIX"]