diff options
author | Julien Dessaux | 2010-02-04 21:05:37 +0100 |
---|---|---|
committer | Julien Dessaux | 2010-02-04 21:05:37 +0100 |
commit | fd8d5faf5f4ab085b01316e15403779ca30cf3f9 (patch) | |
tree | 83dfae790dcb184d651567f06929fc69338733a9 /Config.hs | |
parent | Fixed some types' functions. (diff) | |
download | hsbot-fd8d5faf5f4ab085b01316e15403779ca30cf3f9.tar.gz hsbot-fd8d5faf5f4ab085b01316e15403779ca30cf3f9.tar.bz2 hsbot-fd8d5faf5f4ab085b01316e15403779ca30cf3f9.zip |
Began a complete rewrite of command and plugin management.
Wrote a command routing statement, added an IrcPlugin monad.
Diffstat (limited to '')
-rw-r--r-- | Config.hs | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -9,12 +9,12 @@ import Hsbot.Types -- | Imported plugins goes there defaultPlugins :: [String] -defaultPlugins = [ "Ping", "Quote" ] +defaultPlugins = [ "Ping", "Core" ] -- | User server -kro :: IrcServer -kro = IrcServer - { serverAddress = "perseus" +localhost :: IrcServer +localhost = IrcServer + { serverAddress = "localhost" , serverPort = PortNumber 6667 , joinChannels = ["#shbot"] , nickname = "hsbot" @@ -27,6 +27,6 @@ kro = IrcServer config :: Config config = Config { commandPrefix = '@' - , ircServer = kro + , ircServer = localhost } |