From 22aed08fae3cdccd2e77b5515808f770811b88cc Mon Sep 17 00:00:00 2001 From: "Sean B. Palmer" Date: Wed, 13 Jan 2010 13:11:32 +0000 Subject: Added server password stuff from Javier. --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot.py') diff --git a/bot.py b/bot.py index 3564712..1bd559f 100755 --- a/bot.py +++ b/bot.py @@ -22,7 +22,8 @@ def decode(bytes): class Phenny(irc.Bot): def __init__(self, config): - irc.Bot.__init__(self, config.nick, config.name, config.channels) + args = (config.nick, config.name, config.channels, config.password) + irc.Bot.__init__(self, *args) self.config = config self.doc = {} self.stats = {} -- cgit v1.2.3-1-g7c22