diff options
author | Julien Dessaux | 2010-05-29 16:59:41 +0200 |
---|---|---|
committer | Julien Dessaux | 2010-05-29 17:05:56 +0200 |
commit | 57bec4921b02e745f412e954ea4a4ec6b3c31b3b (patch) | |
tree | 3cca9e3630772cd9594442ff3ff2101a80599a4d /Hsbot/Types.hs | |
parent | Implemented the clean killing of plugins' threads. (diff) | |
download | hsbot-57bec4921b02e745f412e954ea4a4ec6b3c31b3b.tar.gz hsbot-57bec4921b02e745f412e954ea4a4ec6b3c31b3b.tar.bz2 hsbot-57bec4921b02e745f412e954ea4a4ec6b3c31b3b.zip |
Rationalized the way bot configs are handled.
Diffstat (limited to '')
-rw-r--r-- | Hsbot/Types.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Hsbot/Types.hs b/Hsbot/Types.hs index 49e8e6b..4052e58 100644 --- a/Hsbot/Types.hs +++ b/Hsbot/Types.hs @@ -27,7 +27,7 @@ data BotState = BotState { botStartTime :: UTCTime -- the bot's uptime , botPlugins :: M.Map String (PluginState, ThreadId) -- Loaded plugins , botChan :: Chan BotMsg -- the bot's communication channel - , botConfig :: Config -- the bot's starting config + , botConfig :: [BotConfig] -- the bot's starting config , botResumeData :: MVar BotResumeData -- the necessary data to resume the bot's operations on reboot } |