mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-05-06 11:33:40 -05:00
fix wrong configuration used and mark not being send to logChannel
This commit is contained in:
parent
5851ae64ca
commit
1997f7280a
@ -629,7 +629,7 @@ class Ircd (object):
|
|||||||
c.execute("""INSERT INTO comments VALUES (?, ?, ?, ?)""",(uid,prefix,current,message))
|
c.execute("""INSERT INTO comments VALUES (?, ?, ?, ?)""",(uid,prefix,current,message))
|
||||||
db.commit()
|
db.commit()
|
||||||
f = None
|
f = None
|
||||||
if prefix != irc.prefix and ct.registryValue('announceEdit',channel=channel):
|
if prefix != irc.prefix and ct.registryValue('announceMark',channel=channel):
|
||||||
f = ct._logChan
|
f = ct._logChan
|
||||||
elif prefix == irc.prefix and ct.registryValue('announceBotMark',channel=channel):
|
elif prefix == irc.prefix and ct.registryValue('announceBotMark',channel=channel):
|
||||||
f = ct._logChan
|
f = ct._logChan
|
||||||
@ -1179,7 +1179,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
|||||||
item = i.getItem(irc,id)
|
item = i.getItem(irc,id)
|
||||||
if item:
|
if item:
|
||||||
f = None
|
f = None
|
||||||
if msg.prefix != irc.prefix and self.registryValue('announceEdit',channel=item.channel):
|
if msg.prefix != irc.prefix and self.registryValue('announceMark',channel=item.channel):
|
||||||
f = self._logChan
|
f = self._logChan
|
||||||
elif msg.prefix == irc.prefix and self.registryValue('announceBotMark',channel=item.channel):
|
elif msg.prefix == irc.prefix and self.registryValue('announceBotMark',channel=item.channel):
|
||||||
f = self._logChan
|
f = self._logChan
|
||||||
|
Loading…
x
Reference in New Issue
Block a user