summaryrefslogtreecommitdiff
path: root/Hsbot/Main.hs
diff options
context:
space:
mode:
authorJulien Dessaux2010-04-21 21:01:07 +0200
committerJulien Dessaux2010-04-21 22:37:06 +0200
commit455b18bc1044d8f4cfb0d99c19f9f38955d00d00 (patch)
tree72e82c5c0088b9b408bf6401d13402a96daeac99 /Hsbot/Main.hs
parentFixed several stuff. (diff)
downloadhsbot-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.hs8
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