From 57f559f3a119b400e4f6288d3b5753185b8f19a7 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 4 Feb 2010 20:27:22 +0100 Subject: Rewrote the whole architecture. --- Config.hs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Config.hs') diff --git a/Config.hs b/Config.hs index a2c5a39..bbef7ab 100644 --- a/Config.hs +++ b/Config.hs @@ -1,17 +1,22 @@ module Config ( config + , defaultPlugins ) where +import Network + import Hsbot.Core -- | Imported plugins goes there +defaultPlugins :: [String] +defaultPlugins = [ "Ping" ] -- | User server kro :: IrcServer kro = IrcServer { address = "kro.corp" - , port = 6667 - , channels = ["#geek", "#shbot"] + , port = PortNumber 6667 + , channels = ["#shbot"] , nickname = "hsbot" , password = "" , realname = "The One True bot, with it's haskell soul." @@ -22,6 +27,6 @@ kro = IrcServer config :: Config config = Config { commandPrefixes = ['@'] - , ircServers = [kro] + , ircServer = kro } -- cgit v1.2.3