summaryrefslogtreecommitdiff
path: root/Config.hs
diff options
context:
space:
mode:
authorJulien Dessaux2010-02-04 20:40:16 +0100
committerJulien Dessaux2010-02-04 20:40:16 +0100
commitcf68de02be3e9695c95b0d1fafdab5ab2c0fc5f7 (patch)
tree977286771d0f9e126ae599af01a63e06b3c67d2d /Config.hs
parentFinished changing plugin data structure to Maps. (diff)
downloadhsbot-cf68de02be3e9695c95b0d1fafdab5ab2c0fc5f7.tar.gz
hsbot-cf68de02be3e9695c95b0d1fafdab5ab2c0fc5f7.tar.bz2
hsbot-cf68de02be3e9695c95b0d1fafdab5ab2c0fc5f7.zip
Added command registering and dispatching for plugins.
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Config.hs b/Config.hs
index 50ddcfc..5bbb992 100644
--- a/Config.hs
+++ b/Config.hs
@@ -26,7 +26,7 @@ kro = IrcServer
-- | User configuration
config :: Config
config = Config
- { commandPrefixes = ['@']
- , ircServer = kro
+ { commandPrefix = '@'
+ , ircServer = kro
}