diff options
author | Sean B. Palmer <http://inamidst.com/sbp/> | 2010-01-13 13:11:32 +0000 |
---|---|---|
committer | Sean B. Palmer <http://inamidst.com/sbp/> | 2010-01-13 13:11:32 +0000 |
commit | 22aed08fae3cdccd2e77b5515808f770811b88cc (patch) | |
tree | 56783c28d087fecf7e8387965f00d78a18428f54 /bot.py | |
parent | 5d48dd8ca7a317daf772d0627f0843d315c49876 (diff) | |
download | bot-22aed08fae3cdccd2e77b5515808f770811b88cc.tar.gz bot-22aed08fae3cdccd2e77b5515808f770811b88cc.tar.bz2 bot-22aed08fae3cdccd2e77b5515808f770811b88cc.zip |
Added server password stuff from Javier.
Diffstat (limited to 'bot.py')
-rwxr-xr-x | bot.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 = {} |