gameServer/HWProtoInRoomState.hs
changeset 8757 266df6d5ed73
parent 8627 ea2d32a03ac9
child 8833 c13ebed437cb
child 8897 d6c310c65c91
equal deleted inserted replaced
8755:f2c568780483 8757:266df6d5ed73
   334 handleCmd_inRoom ["TEAMCHAT", msg] = do
   334 handleCmd_inRoom ["TEAMCHAT", msg] = do
   335     cl <- thisClient
   335     cl <- thisClient
   336     chans <- roomSameClanChans
   336     chans <- roomSameClanChans
   337     return [AnswerClients chans ["EM", engineMsg cl]]
   337     return [AnswerClients chans ["EM", engineMsg cl]]
   338     where
   338     where
   339         engineMsg cl = toEngineMsg $ B.concat ["b", nick cl, "(team): ", msg, "\x20\x20"]
   339         engineMsg cl = toEngineMsg $ B.concat ["b", nick cl, " (team): ", msg, "\x20\x20"]
   340 
   340 
   341 
   341 
   342 handleCmd_inRoom ["BAN", banNick] = do
   342 handleCmd_inRoom ["BAN", banNick] = do
   343     (thisClientId, rnc) <- ask
   343     (thisClientId, rnc) <- ask
   344     maybeClientId <- clientByNick banNick
   344     maybeClientId <- clientByNick banNick