diff options
| author | pb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157> | 2010-05-15 18:03:15 +0000 |
|---|---|---|
| committer | pb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157> | 2010-05-15 18:03:15 +0000 |
| commit | c675c92a06761d6b28f8fdda8cc418b64a040c9a (patch) | |
| tree | ab99e34875ca832a867a73cc4fc0dc94cd5be6f4 /HsBot/Base.hs | |
| parent | d80cee1ecddeb75e54de767c35f04a9a004eed12 (diff) | |
renamed Callbacks into Plugins
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@67 9f8f72e9-4bf4-416e-b76e-7d4203597157
Diffstat (limited to 'HsBot/Base.hs')
| -rw-r--r-- | HsBot/Base.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/HsBot/Base.hs b/HsBot/Base.hs index 1c3d4a4..15f794e 100644 --- a/HsBot/Base.hs +++ b/HsBot/Base.hs @@ -8,7 +8,7 @@ import HsBot.Base.Env import HsBot.Base.State import HsBot.General.Tools import HsBot.IRC -import HsBot.Callbacks +import HsBot.Plugins startBase :: IO () startBase = do @@ -27,7 +27,7 @@ dispatch msg sendMessage env@(Env state conf) = dispatch' msg cmdAction state return (env) Nothing -> return (env) - dispatch' _ = callbacksRun msg sendMessage env + dispatch' _ = pluginsTrigger msg sendMessage env commands = [ Cmd "!h" "Prints help" printHelp, Cmd "!i" "Prints infos" printInfos, |
