diff --git a/plugins/ChannelStats.py b/plugins/ChannelStats.py index 2c11eae05..aca9fecd4 100644 --- a/plugins/ChannelStats.py +++ b/plugins/ChannelStats.py @@ -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):