summaryrefslogtreecommitdiff
path: root/HsBot/Base/State.hs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-10-15 23:52:02 +0200
committerPaul Buetow <paul@buetow.org>2011-10-15 23:52:02 +0200
commit74bbc61e4dd44569d7f6b5eaa1b97cd00685cfc9 (patch)
treea66d8a0062543507e4e27f74a6e8d94034caee26 /HsBot/Base/State.hs
parentbbb1bc28fe10f1b1fdc433ecf9502e2821f024f8 (diff)
some testing stuff
Diffstat (limited to 'HsBot/Base/State.hs')
-rw-r--r--HsBot/Base/State.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/HsBot/Base/State.hs b/HsBot/Base/State.hs
index a0cc664..f501a16 100644
--- a/HsBot/Base/State.hs
+++ b/HsBot/Base/State.hs
@@ -5,18 +5,19 @@
module HsBot.Base.State where
+import HsBot.Base.Database
+
import qualified Data.Map as M
import List
import HsBot.IRC.User
-import HsBot.Base.Database
data State = State {
isReady :: Bool,
currentSender :: String,
currentChannel :: String,
line :: String,
- users :: [User],
+ users :: [User]
} deriving (Show, Read)
makeDefaultState :: State
@@ -25,7 +26,7 @@ makeDefaultState = State {
currentSender = "",
currentChannel = "",
line = "",
- users = [],
+ users = []
}
stateNumUsers :: State -> Int