Somehow this bug has been around since 0.77.0

This commit is contained in:
James Vega 2004-05-27 16:47:05 +00:00
parent ce8c77f5ae
commit 880bf8544c

View File

@ -63,7 +63,7 @@ class Scheduler(callbacks.Privmsg):
raise callbacks.Error, callbacks.ambiguousReply(ambiguous) raise callbacks.Error, callbacks.ambiguousReply(ambiguous)
def f(): def f():
if remove: if remove:
del self.events[f.eventId] del self.events[str(f.eventId)]
self.Proxy(irc.irc, msg, tokens) self.Proxy(irc.irc, msg, tokens)
return f return f
@ -71,7 +71,7 @@ class Scheduler(callbacks.Privmsg):
"""<seconds> <command> """<seconds> <command>
Schedules the command string <command> to run <seconds> seconds in the Schedules the command string <command> to run <seconds> seconds in the
future. For example, 'schedule add [seconds 30m] "echo [cpu]"' will future. For example, 'scheduler add [seconds 30m] "echo [cpu]"' will
schedule the command "cpu" to be sent to the channel the schedule add schedule the command "cpu" to be sent to the channel the schedule add
command was given in (with no prefixed nick, a consequence of using command was given in (with no prefixed nick, a consequence of using
echo). echo).