mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 13:01:06 -05:00
Fix mistake in user notification.
This commit is contained in:
parent
f02c24868a
commit
2c94abb49a
@ -4394,7 +4394,7 @@ class ChanTracker(callbacks.Plugin, plugins.ChannelDBHandler):
|
|||||||
elif self.registryValue('proxyMsgOnly', channel=channel, network=irc.network):
|
elif self.registryValue('proxyMsgOnly', channel=channel, network=irc.network):
|
||||||
bm = ''
|
bm = ''
|
||||||
if len(bm):
|
if len(bm):
|
||||||
bm.replace('$channel', channel)
|
bm = bm.replace('$channel', channel)
|
||||||
log.info('[%s] warned %s with: %s' % (channel, nick, bm))
|
log.info('[%s] warned %s with: %s' % (channel, nick, bm))
|
||||||
if self.registryValue('banNotice', channel=channel, network=irc.network):
|
if self.registryValue('banNotice', channel=channel, network=irc.network):
|
||||||
i.lowQueue.enqueue(ircmsgs.notice(nick, bm))
|
i.lowQueue.enqueue(ircmsgs.notice(nick, bm))
|
||||||
@ -4414,7 +4414,7 @@ class ChanTracker(callbacks.Plugin, plugins.ChannelDBHandler):
|
|||||||
elif self.registryValue('proxyMsgOnly', channel=channel, network=irc.network):
|
elif self.registryValue('proxyMsgOnly', channel=channel, network=irc.network):
|
||||||
qm = ''
|
qm = ''
|
||||||
if len(qm):
|
if len(qm):
|
||||||
qm.replace('$channel', channel)
|
qm = qm.replace('$channel', channel)
|
||||||
log.info('[%s] warned %s with: %s' % (channel, nick, qm))
|
log.info('[%s] warned %s with: %s' % (channel, nick, qm))
|
||||||
if self.registryValue('quietNotice', channel=channel, network=irc.network):
|
if self.registryValue('quietNotice', channel=channel, network=irc.network):
|
||||||
i.lowQueue.enqueue(ircmsgs.notice(nick, qm))
|
i.lowQueue.enqueue(ircmsgs.notice(nick, qm))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user