From 11c2c16835b3e8368be77ccc5b7ddf949021eccd Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 3 Jul 2010 21:26:00 +0200 Subject: Moved files around as a preliminary for architectural changes. --- Hsbot/Irc/Config.hs | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 Hsbot/Irc/Config.hs (limited to 'Hsbot/Irc/Config.hs') diff --git a/Hsbot/Irc/Config.hs b/Hsbot/Irc/Config.hs deleted file mode 100644 index 0d1e5a2..0000000 --- a/Hsbot/Irc/Config.hs +++ /dev/null @@ -1,34 +0,0 @@ -module Hsbot.Irc.Config - ( IrcConfig(..) - , ircDefaultConfig - ) where - -import Network - --- | Configuration data type -data IrcConfig = IrcConfig - { ircConfigName :: String -- The configuration name - , ircConfigAddress :: String -- the server's address - , ircConfigPort :: PortID -- the server's port - , ircConfigChannels :: [String] -- the Channels to join on start - , ircConfigNickname :: String -- the hsbot's nickname - , ircConfigPassword :: String -- the hsbot's password, optional - , ircConfigRealname :: String -- the hsbot's real name, optional - , ircConfigCommandPrefix :: Char -- the prefix the ircbot will recognize as commands - , ircConfigPlugins :: [String] -- the ircPlugins to load - } - --- | User configuration -ircDefaultConfig :: IrcConfig -ircDefaultConfig = IrcConfig - { ircConfigName = "irc-alocalhost" - , ircConfigAddress = "localhost" - , ircConfigPort = PortNumber 6667 - , ircConfigChannels = ["#hsbot"] - , ircConfigNickname = "hsbot" - , ircConfigPassword = "" - , ircConfigRealname = "The One True bot, with it's haskell soul." - , ircConfigCommandPrefix = '@' - , ircConfigPlugins = ["Ping"] - } - -- cgit v1.2.3