diff options
| author | pb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157> | 2010-03-16 20:56:57 +0000 |
|---|---|---|
| committer | pb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157> | 2010-03-16 20:56:57 +0000 |
| commit | df5f62ab71f56722bdeca8e77c78ab1d7aeeeb24 (patch) | |
| tree | bf61bdf59577ba93e77fbbfb22c7db65951ed7da /Main.hs | |
| parent | e439488acb7e8a71703f8cb3d4e70340652359d3 (diff) | |
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@34 9f8f72e9-4bf4-416e-b76e-7d4203597157
Diffstat (limited to 'Main.hs')
| -rw-r--r-- | Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,14 +15,14 @@ main = do databaseFile <- get "databaseFile" conf let state = stateLoad databaseFile state' <- state -- Extract State from the IO Monad - ircConnect (Env state' conf dispatch) + ircConnect (DispatchEnv state' conf dispatch) -- Shortcut r :: IO () r = main dispatch :: Dispatch -dispatch cmd sendMessage env@(EnvWoDispatch state conf) = +dispatch cmd sendMessage env@(Env state conf) = let commands = [ Cmd "!h" "Prints help" printHelp, Cmd "!i" "Prints infos" printInfos, |
