summaryrefslogtreecommitdiff
path: root/Hsbot/Types.hs
diff options
context:
space:
mode:
authorJulien Dessaux2010-01-22 18:45:20 +0100
committerJulien Dessaux2010-02-04 20:57:10 +0100
commit047a10bc9b9ef348ab57cbb58c6940a0858c38ac (patch)
tree3c83df8f556c400d855da6e539b3c11f52457b79 /Hsbot/Types.hs
parentRewrote command handling, added the Quote module and cleaned input handling. (diff)
downloadhsbot-047a10bc9b9ef348ab57cbb58c6940a0858c38ac.tar.gz
hsbot-047a10bc9b9ef348ab57cbb58c6940a0858c38ac.tar.bz2
hsbot-047a10bc9b9ef348ab57cbb58c6940a0858c38ac.zip
Fixed some types' functions.
Diffstat (limited to 'Hsbot/Types.hs')
-rw-r--r--Hsbot/Types.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hsbot/Types.hs b/Hsbot/Types.hs
index 25a7732..4e002db 100644
--- a/Hsbot/Types.hs
+++ b/Hsbot/Types.hs
@@ -29,9 +29,9 @@ data Config = Config
-- | An IRC server
data IrcServer = IrcServer
- { address :: String -- the server's address
- , port :: PortID -- the server's port
- , channels :: [String] -- a list of channels to join
+ { serverAddress :: String -- the server's address
+ , serverPort :: PortID -- the server's port
+ , joinChannels :: [String] -- a list of channels to join
, nickname :: String -- the hsbot's nickname
, password :: String -- the hsbot's password, optional
, realname :: String -- the hsbot's real name, optional