changeset 1408 | fab171a17968 |
parent 1403 | b8c921ed0f13 |
child 1411 | df78c9571bc7 |
--- a/netserver/Miscutils.hs Fri Oct 24 14:28:47 2008 +0000 +++ b/netserver/Miscutils.hs Fri Oct 24 15:02:26 2008 +0000 @@ -102,6 +102,9 @@ else cl : (modifyClient client cls) +modifyRoomClients :: RoomInfo -> (ClientInfo -> ClientInfo) -> ClientsTransform +modifyRoomClients clientsroom clientMod clients = map (\c -> if name clientsroom == room c then clientMod c else c) clients + noChangeRooms :: RoomsTransform noChangeRooms a = a