mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-10-07 12:27:30 +02:00
Forgot a couple self's when adding split throttling.
This commit is contained in:
parent
51637b3b00
commit
1c56071e19
@ -84,7 +84,7 @@ class Herald(callbacks.Plugin):
|
|||||||
def doJoin(self, irc, msg):
|
def doJoin(self, irc, msg):
|
||||||
if ircutils.strEqual(irc.nick, msg.nick):
|
if ircutils.strEqual(irc.nick, msg.nick):
|
||||||
return # It's us.
|
return # It's us.
|
||||||
if msg.nick in splitters:
|
if msg.nick in self.splitters:
|
||||||
self.log.debug('Not heralding %s, recent split.', msg.nick)
|
self.log.debug('Not heralding %s, recent split.', msg.nick)
|
||||||
return # Recently split.
|
return # Recently split.
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
@ -92,7 +92,7 @@ class Herald(callbacks.Plugin):
|
|||||||
if self.registryValue('heralding', channel):
|
if self.registryValue('heralding', channel):
|
||||||
try:
|
try:
|
||||||
id = ircdb.users.getUserId(msg.prefix)
|
id = ircdb.users.getUserId(msg.prefix)
|
||||||
if id in splitters:
|
if id in self.splitters:
|
||||||
self.log.debug('Not heralding id #%s, recent split.', id)
|
self.log.debug('Not heralding id #%s, recent split.', id)
|
||||||
return
|
return
|
||||||
herald = self.db[channel, id]
|
herald = self.db[channel, id]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user