mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fixed!
This commit is contained in:
parent
05ff7d3d16
commit
b2c156609f
@ -127,10 +127,12 @@ class Scheduler(callbacks.Privmsg):
|
||||
try:
|
||||
id = int(id)
|
||||
except ValueError:
|
||||
irc.error(msg, 'Invalid event id: %r' % id)
|
||||
return
|
||||
schedule.removeEvent(id)
|
||||
irc.reply(msg, conf.replySuccess)
|
||||
pass
|
||||
try:
|
||||
schedule.removeEvent(id)
|
||||
irc.reply(msg, conf.replySuccess)
|
||||
except KeyError:
|
||||
irc.error(msg, 'Invalid event id.')
|
||||
|
||||
def repeat(self, irc, msg, args):
|
||||
"""<name> <seconds> <command>
|
||||
|
@ -296,7 +296,7 @@ class IrcObjectProxy:
|
||||
log.debug('IrcObjectProxy.__init__: %s' % args)
|
||||
self.irc = irc
|
||||
self.msg = msg
|
||||
self.args = args
|
||||
self.args = args[:]
|
||||
self.counter = 0
|
||||
self.to = None
|
||||
self.action = False
|
||||
|
Loading…
Reference in New Issue
Block a user