diff options
| author | pb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157> | 2010-03-14 15:36:37 +0000 |
|---|---|---|
| committer | pb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157> | 2010-03-14 15:36:37 +0000 |
| commit | d3dc3957e68ea83e348897b3b9d6fe3e280b5d11 (patch) | |
| tree | 871775fc26b724f6ca2181cbda62516f0b6f764a | |
| parent | 29e84fb4a5fc81ebadfc4266b0b753eef44fa558 (diff) | |
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@32 9f8f72e9-4bf4-416e-b76e-7d4203597157
| -rw-r--r-- | Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,6 +46,6 @@ dispatch cmd sendMessage env@(Env state conf _) = exitWith ExitSuccess in case cmdGet ("!" ++ cmd) commands of - Just (Cmd _ _ dispatchFunction) -> dispatchFunction state - Nothing -> dispatch "i" sendMessage env + Just (Cmd _ _ cmdAction) -> cmdAction state + Nothing -> return () |
