From fd8d5faf5f4ab085b01316e15403779ca30cf3f9 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 4 Feb 2010 21:05:37 +0100 Subject: Began a complete rewrite of command and plugin management. Wrote a command routing statement, added an IrcPlugin monad. --- Config.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Config.hs') diff --git a/Config.hs b/Config.hs index 0af7b81..fd5619e 100644 --- a/Config.hs +++ b/Config.hs @@ -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 } -- cgit v1.2.3