diff options
author | Chris Oliver <excid3@gmail.com> | 2010-03-01 15:40:33 -0600 |
---|---|---|
committer | Chris Oliver <excid3@gmail.com> | 2010-03-01 15:40:33 -0600 |
commit | 399ccb25ecac9bc48cb40a6fa205f2738ff7b2bc (patch) | |
tree | aebd4ef9a672d522ff5b45e52a5e8a85deb3ac4d /logbot.py | |
parent | 1a8adb1529c32e9861d2362ede2a220616c36d00 (diff) | |
download | logbot-399ccb25ecac9bc48cb40a6fa205f2738ff7b2bc.tar.xz |
Fixed a bug if mode change had extra arguments it would crash on unpacking the values
Diffstat (limited to 'logbot.py')
-rw-r--r-- | logbot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ class LogBot(SingleServerIRCBot): .replace("%reason%", reason)) def on_mode(self, c, e): - modes, person = e.arguments() + modes, person = e.arguments()[:2] channel = e.target() giver = nm_to_n(e.source()) self.write(channel, self.format["mode"].replace("%channel%", channel) \ |