mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-06 01:24:05 +01: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):
|
||||
if ircutils.strEqual(irc.nick, msg.nick):
|
||||
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)
|
||||
return # Recently split.
|
||||
channel = msg.args[0]
|
||||
@ -92,7 +92,7 @@ class Herald(callbacks.Plugin):
|
||||
if self.registryValue('heralding', channel):
|
||||
try:
|
||||
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)
|
||||
return
|
||||
herald = self.db[channel, id]
|
||||
|
Loading…
Reference in New Issue
Block a user