Removed all the dynamic module loading stuff.
This commit is contained in:
parent
4c76d3d40b
commit
455b18bc10
7 changed files with 31 additions and 58 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue