mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 04:51:07 -05:00
little fix in 'edit'
This commit is contained in:
parent
8eb99e4b58
commit
c6014c3902
@ -1158,8 +1158,8 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
||||
b = b and i.edit(irc,item.channel,item.mode,item.value,getDuration(seconds),msg.prefix,self.getDb(irc.network),sf,f,self)
|
||||
else:
|
||||
b = False;
|
||||
if not sf and duration > 0:
|
||||
self._schedule(irc,float(time.time())+duration)
|
||||
if not sf and getDuration(seconds) > 0:
|
||||
self._schedule(irc,float(time.time())+getDuration(seconds))
|
||||
if not msg.nick == irc.nick:
|
||||
if b:
|
||||
irc.replySuccess()
|
||||
|
Loading…
x
Reference in New Issue
Block a user