# HG changeset patch # User Wuzzy # Date 1535295061 -7200 # Node ID dec29ef3ef7670bf0b4106dd577289d0614eb996 # Parent aa1d71ca6c1926170997fbcb0a5c2cbc61ded6c0 GameServer: Use consistent formatting of clan chat (compared with engine) It's called "clan chat" now, not "team chat". Also the brackets and text positions were inconsistent with engine. diff -r aa1d71ca6c19 -r dec29ef3ef76 gameServer/HWProtoInRoomState.hs --- a/gameServer/HWProtoInRoomState.hs Sun Aug 26 15:10:34 2018 +0200 +++ b/gameServer/HWProtoInRoomState.hs Sun Aug 26 16:51:01 2018 +0200 @@ -382,7 +382,9 @@ chans <- roomSameClanChans return [AnswerClients chans ["EM", engineMsg cl]] where - engineMsg cl = toEngineMsg $ B.concat ["b", nick cl, " (team): ", msg, "\x20\x20"] + -- FIXME: Use different method to send team message, without hardcoding the format. + -- The formatting should be decided by the engine, not the sever. This one cannot be localized. + engineMsg cl = toEngineMsg $ B.concat ["b", "[Clan] ", nick cl, ": ", msg, "\x20\x20"] handleCmd_inRoom ["BAN", banNick] = do