diff options
author | Julien Dessaux | 2010-04-21 22:58:34 +0200 |
---|---|---|
committer | Julien Dessaux | 2010-04-21 23:01:02 +0200 |
commit | 50b21c21ee92a5dbc220022772c74b288e327e5d (patch) | |
tree | bb80d771cc3fead70ccbba1717413a90c329c17c /Hsbot/Main.hs | |
parent | Add the IrcMsg as an optional parameter for an internal command. (diff) | |
download | hsbot-50b21c21ee92a5dbc220022772c74b288e327e5d.tar.gz hsbot-50b21c21ee92a5dbc220022772c74b288e327e5d.tar.bz2 hsbot-50b21c21ee92a5dbc220022772c74b288e327e5d.zip |
Make the main thread exit cleanly in case of connection loss.
Diffstat (limited to '')
-rw-r--r-- | Hsbot/Main.hs | 1 |
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 |