summaryrefslogtreecommitdiff
path: root/Hsbot/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Hsbot/Config.hs')
-rw-r--r--Hsbot/Config.hs15
1 files changed, 3 insertions, 12 deletions
diff --git a/Hsbot/Config.hs b/Hsbot/Config.hs
index 9ce62c5..121cc98 100644
--- a/Hsbot/Config.hs
+++ b/Hsbot/Config.hs
@@ -1,18 +1,9 @@
module Hsbot.Config
- ( Config(..)
- , defaultConfig
+ ( BotConfig (..)
) where
-import Hsbot.Irc.Config (IrcConfig)
+import Hsbot.Irc.Config
-- | Configuration data type
-data Config = Config
- { ircConfigs :: [IrcConfig]
- }
-
--- | User configuration
-defaultConfig :: Config
-defaultConfig = Config
- { ircConfigs = []
- }
+data BotConfig = IrcBotConfig IrcConfig