From 16636422275aaaaeac8f33624298361d1005c63d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 3 Feb 2004 22:59:09 +0000 Subject: [PATCH] Fixed a tiny bugz0r. --- plugins/ChannelStats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/ChannelStats.py b/plugins/ChannelStats.py index 30e6f1d55..665ce6efe 100644 --- a/plugins/ChannelStats.py +++ b/plugins/ChannelStats.py @@ -140,7 +140,8 @@ class ChannelStat(irclib.IrcCommandDispatcher): self.kicks += 1 def doPart(self, msg): - self.doPayload(*msg.args) + if len(msg.args) == 2: + self.doPayload(*msg.args) self.parts += 1 def doMode(self, msg):