summaryrefslogtreecommitdiffstats
path: root/bot.py
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2010-01-13 13:11:32 +0000
committerSean B. Palmer <http://inamidst.com/sbp/>2010-01-13 13:11:32 +0000
commit22aed08fae3cdccd2e77b5515808f770811b88cc (patch)
tree56783c28d087fecf7e8387965f00d78a18428f54 /bot.py
parent5d48dd8ca7a317daf772d0627f0843d315c49876 (diff)
downloadbot-22aed08fae3cdccd2e77b5515808f770811b88cc.tar.gz
bot-22aed08fae3cdccd2e77b5515808f770811b88cc.tar.bz2
bot-22aed08fae3cdccd2e77b5515808f770811b88cc.zip
Added server password stuff from Javier.
Diffstat (limited to 'bot.py')
-rwxr-xr-xbot.py3
1 files changed, 2 insertions, 1 deletions
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 = {}