diff options
author | Julien Dessaux | 2010-04-21 21:01:07 +0200 |
---|---|---|
committer | Julien Dessaux | 2010-04-21 22:37:06 +0200 |
commit | 455b18bc1044d8f4cfb0d99c19f9f38955d00d00 (patch) | |
tree | 72e82c5c0088b9b408bf6401d13402a96daeac99 /Hsbot/Main.hs | |
parent | Fixed several stuff. (diff) | |
download | hsbot-455b18bc1044d8f4cfb0d99c19f9f38955d00d00.tar.gz hsbot-455b18bc1044d8f4cfb0d99c19f9f38955d00d00.tar.bz2 hsbot-455b18bc1044d8f4cfb0d99c19f9f38955d00d00.zip |
Removed all the dynamic module loading stuff.
Diffstat (limited to '')
-rw-r--r-- | Hsbot/Main.hs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Hsbot/Main.hs b/Hsbot/Main.hs index 5bf03bf..82b643f 100644 --- a/Hsbot/Main.hs +++ b/Hsbot/Main.hs @@ -13,6 +13,10 @@ import Hsbot.IRC import Hsbot.Plugin import Hsbot.Types +import Plugins.Core(mainCore) +import Plugins.Ping(mainPing) +import Plugins.Quote(mainQuote) + -- | Bot's main entry point imain :: IO () imain = do @@ -24,6 +28,8 @@ imain = do run :: IrcBot () run = do initServer - mapM_ loadPlugin defaultPlugins + loadPlugin "Ping" mainPing + loadPlugin "Core" mainCore + loadPlugin "Quote" mainQuote runServer |