gameServer/HWProtoLobbyState.hs
changeset 6191 190a8e5d9956
parent 6068 e18713ecf1e0
child 6541 08ed346ed341
equal deleted inserted replaced
6190:1db2486e45f4 6191:190a8e5d9956
    80     let jRoomClients = map (client irnc) $ roomClients irnc jRI
    80     let jRoomClients = map (client irnc) $ roomClients irnc jRI
    81     let nicks = map nick jRoomClients
    81     let nicks = map nick jRoomClients
    82     let chans = map sendChan (cl : jRoomClients)
    82     let chans = map sendChan (cl : jRoomClients)
    83     return $
    83     return $
    84         if isNothing maybeRI || not sameProto then 
    84         if isNothing maybeRI || not sameProto then 
    85             [Warning "No such rooms"]
    85             [Warning "No such room"]
    86             else if isRestrictedJoins jRoom then
    86             else if isRestrictedJoins jRoom then
    87             [Warning "Joining restricted"]
    87             [Warning "Joining restricted"]
    88             else if roomPassword /= password jRoom then
    88             else if roomPassword /= password jRoom then
    89             [Warning "Wrong password"]
    89             [Warning "Wrong password"]
    90             else
    90             else