Fixed bug lkn4it reported -- no doJoin.

This commit is contained in:
Jeremy Fincher 2004-02-17 01:51:54 +00:00
parent c809cc9217
commit ef550c2dc0

View File

@ -137,9 +137,16 @@ class ChannelStat(irclib.IrcCommandDispatcher):
self.doPayload(*msg.args)
self.parts += 1
def doJoin(self, msg):
if len(msg.args) == 2:
self.doPayload(*msg.args)
self.joins += 1
def doMode(self, msg):
self.modes += 1
# doQuit is handled by the plugin.
class UserStat(ChannelStat):
def __init__(self, kicked=0, *args):