summaryrefslogtreecommitdiff
path: root/Hsbot/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Hsbot/Main.hs')
-rw-r--r--Hsbot/Main.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Hsbot/Main.hs b/Hsbot/Main.hs
index 129d2bd..5ff138b 100644
--- a/Hsbot/Main.hs
+++ b/Hsbot/Main.hs
@@ -2,7 +2,6 @@ module Hsbot.Main
(imain
) where
-import Network
import System.IO
import System.Plugins
@@ -19,5 +18,7 @@ imain modul' reboot = imain' modul' reboot newbot
-- | Bot's main entry point
imain' :: Module -> Reboot -> Bot -> IO ()
imain' modul' reboot bot = do
- print C.config
+ servers' <- mapM connectServer (ircServers C.config)
+ mapM_ initServer servers'
+ return ()