diff options
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 f2b1139..8f6d099 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.Logics +import HsBot.Callbacks 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' _ = logicsRun msg sendMessage env + dispatch' _ = callbacksRun msg sendMessage env commands = [ Cmd "!h" "Prints help" printHelp, Cmd "!i" "Prints infos" printInfos, |
