diff --git a/plugins/Scheduler.py b/plugins/Scheduler.py index 5837ef92c..5a3095583 100644 --- a/plugins/Scheduler.py +++ b/plugins/Scheduler.py @@ -63,7 +63,7 @@ class Scheduler(callbacks.Privmsg): raise callbacks.Error, callbacks.ambiguousReply(ambiguous) def f(): if remove: - del self.events[f.eventId] + del self.events[str(f.eventId)] self.Proxy(irc.irc, msg, tokens) return f @@ -71,7 +71,7 @@ class Scheduler(callbacks.Privmsg): """ Schedules the command string to run 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 command was given in (with no prefixed nick, a consequence of using echo).