diff -r 6c82ad758a80 -r a9e768739345 netserver/HWProto.hs --- a/netserver/HWProto.hs Sat Oct 18 13:45:42 2008 +0000 +++ b/netserver/HWProto.hs Sat Oct 18 13:53:58 2008 +0000 @@ -11,6 +11,7 @@ where hhsInfo = concatMap (\(HedgehogInfo name hat) -> [name, hat]) $ hedgehogs team +answerServerMessage = [(clientOnly, ["SERVER_MESSAGE", "

http://www.hedgewars.org/

"])] answerBadCmd = [(clientOnly, ["ERROR", "Bad command, state or incorrect parameter"])] answerNotMaster = [(clientOnly, ["ERROR", "You cannot configure room parameters"])] answerBadParam = [(clientOnly, ["ERROR", "Bad parameter"])] @@ -103,7 +104,7 @@ -- 'noRoom' clients state command handlers handleCmd_noRoom :: CmdHandler handleCmd_noRoom client _ rooms ["LIST"] = - (noChangeClients, noChangeRooms, answerRoomsList $ map name rooms) + (noChangeClients, noChangeRooms, answerServerMessage ++ (answerRoomsList $ map name rooms)) handleCmd_noRoom client _ rooms ["CREATE", newRoom, roomPassword] = if haveSameRoom then