mirror of https://github.com/Mikaela/Limnoria.git
Fixed bug lkn4it reported -- no doJoin.
This commit is contained in:
parent
c809cc9217
commit
ef550c2dc0
|
@ -137,9 +137,16 @@ class ChannelStat(irclib.IrcCommandDispatcher):
|
||||||
self.doPayload(*msg.args)
|
self.doPayload(*msg.args)
|
||||||
self.parts += 1
|
self.parts += 1
|
||||||
|
|
||||||
|
def doJoin(self, msg):
|
||||||
|
if len(msg.args) == 2:
|
||||||
|
self.doPayload(*msg.args)
|
||||||
|
self.joins += 1
|
||||||
|
|
||||||
def doMode(self, msg):
|
def doMode(self, msg):
|
||||||
self.modes += 1
|
self.modes += 1
|
||||||
|
|
||||||
|
# doQuit is handled by the plugin.
|
||||||
|
|
||||||
|
|
||||||
class UserStat(ChannelStat):
|
class UserStat(ChannelStat):
|
||||||
def __init__(self, kicked=0, *args):
|
def __init__(self, kicked=0, *args):
|
||||||
|
|
Loading…
Reference in New Issue