equal
deleted
inserted
replaced
57 roomInfo = if roomID client /= 0 then roomMasterSign ++ "room " ++ (name room) else adminSign ++ "lobby" |
57 roomInfo = if roomID client /= 0 then roomMasterSign ++ "room " ++ (name room) else adminSign ++ "lobby" |
58 roomMasterSign = if isMaster client then "@" else "" |
58 roomMasterSign = if isMaster client then "@" else "" |
59 adminSign = if isAdministrator client then "@" else "" |
59 adminSign = if isAdministrator client then "@" else "" |
60 roomStatus = |
60 roomStatus = |
61 if gameinprogress room |
61 if gameinprogress room |
62 then if teamsInGame client > 0 then "(plays)" else "(spectates)" |
62 then if teamsInGame client > 0 then "(playing)" else "(spectating)" |
63 else "" |
63 else "" |
64 |
64 |
65 |
65 |
66 handleCmd_loggedin clID clients rooms cmd = |
66 handleCmd_loggedin clID clients rooms cmd = |
67 if roomID client == 0 then |
67 if roomID client == 0 then |