Archived
1
0
Fork 0

Removed all the dynamic module loading stuff.

This commit is contained in:
Julien Dessaux 2010-04-21 21:01:07 +02:00
parent 4c76d3d40b
commit 455b18bc10
7 changed files with 31 additions and 58 deletions

View file

@ -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