summaryrefslogtreecommitdiff
path: root/Hsbot/Main.hs
diff options
context:
space:
mode:
authorJulien Dessaux2010-04-21 22:58:34 +0200
committerJulien Dessaux2010-04-21 23:01:02 +0200
commit50b21c21ee92a5dbc220022772c74b288e327e5d (patch)
treebb80d771cc3fead70ccbba1717413a90c329c17c /Hsbot/Main.hs
parentAdd the IrcMsg as an optional parameter for an internal command. (diff)
downloadhsbot-50b21c21ee92a5dbc220022772c74b288e327e5d.tar.gz
hsbot-50b21c21ee92a5dbc220022772c74b288e327e5d.tar.bz2
hsbot-50b21c21ee92a5dbc220022772c74b288e327e5d.zip
Make the main thread exit cleanly in case of connection loss.
Diffstat (limited to 'Hsbot/Main.hs')
-rw-r--r--Hsbot/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Hsbot/Main.hs b/Hsbot/Main.hs
index 82b643f..767722b 100644
--- a/Hsbot/Main.hs
+++ b/Hsbot/Main.hs
@@ -28,6 +28,7 @@ imain = do
run :: IrcBot ()
run = do
initServer
+ liftIO $ putStrLn "Starting plugins..."
loadPlugin "Ping" mainPing
loadPlugin "Core" mainCore
loadPlugin "Quote" mainQuote