diff options
| author | Paul Buetow <paul@buetow.org> | 2011-10-15 23:04:49 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-10-15 23:04:49 +0200 |
| commit | bbb1bc28fe10f1b1fdc433ecf9502e2821f024f8 (patch) | |
| tree | a89c09b339af8f69178c8eec0473cb0c86d7ca82 /HsBot/Base/State.hs | |
| parent | 5875e0134d99f8e7b7b713e2a1acecedd1afe4e9 (diff) | |
initial mysql support
Diffstat (limited to 'HsBot/Base/State.hs')
| -rw-r--r-- | HsBot/Base/State.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/HsBot/Base/State.hs b/HsBot/Base/State.hs index 9c38e42..a0cc664 100644 --- a/HsBot/Base/State.hs +++ b/HsBot/Base/State.hs @@ -9,13 +9,14 @@ 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 @@ -24,7 +25,7 @@ makeDefaultState = State { currentSender = "", currentChannel = "", line = "", - users = [] + users = [], } stateNumUsers :: State -> Int |
