netserver/Miscutils.hs
changeset 1382 b6ab9fea22fe
parent 1350 99a921e292f4
child 1383 d20e6e8928e3
--- a/netserver/Miscutils.hs	Sat Oct 18 21:47:28 2008 +0000
+++ b/netserver/Miscutils.hs	Mon Oct 20 12:58:16 2008 +0000
@@ -51,6 +51,13 @@
 	}
 createRoom = (RoomInfo "" "" 0 [] "+rnd+" False Map.empty)
 
+data GlobalInfo =
+	GlobalInfo
+	{
+		isDedicated :: Bool,
+		serverMessage :: String
+	}
+
 type ClientsTransform = [ClientInfo] -> [ClientInfo]
 type RoomsTransform = [RoomInfo] -> [RoomInfo]
 type HandlesSelector = ClientInfo -> [ClientInfo] -> [RoomInfo] -> [Handle]