diff options
Diffstat (limited to 'HsBot/Start.hs')
| -rw-r--r-- | HsBot/Start.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/HsBot/Start.hs b/HsBot/Start.hs index cf87404..3ea4d1e 100644 --- a/HsBot/Start.hs +++ b/HsBot/Start.hs @@ -2,11 +2,11 @@ module HsBot.Start (start) where import System -import HsBot.AI import HsBot.Cmd import HsBot.Conf import HsBot.Env -import HsBot.IRC +import HsBot.IRC.Connection +import HsBot.Logics import HsBot.State import HsBot.Tools @@ -27,7 +27,7 @@ dispatch msg sendMessage env@(Env state conf) = dispatch' msg cmdAction state return (env) Nothing -> return (env) - dispatch' _ = aiRun msg env + dispatch' _ = logicsRun msg env commands = [ Cmd "!h" "Prints help" printHelp, Cmd "!i" "Prints infos" printInfos, |
