gameServer/HWProtoCore.hs
changeset 13673 1aa5e884326a
parent 13516 60bcc20e6ab0
child 13692 70c8feb81d35
--- a/gameServer/HWProtoCore.hs	Sun Aug 19 09:54:46 2018 -0400
+++ b/gameServer/HWProtoCore.hs	Tue Aug 21 02:14:15 2018 +0200
@@ -40,7 +40,10 @@
 
 handleCmd ("QUIT" : xs) = return [ByeClient msg]
     where
-        msg = if not $ null xs then "User quit: " `B.append` (head xs) else loc "bye"
+        -- "User quit: " is a special string parsed by frontend, do not localize.
+        -- It denotes when the /quit command has been used with message parameter.
+        -- "bye" is also a special string.
+        msg = if not $ null xs then "User quit: " `B.append` (head xs) else "bye"
 
 
 handleCmd ["PONG"] = do