From 880bf8544ca71b835f5ec9dd40246172c53ab60f Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 27 May 2004 16:47:05 +0000 Subject: [PATCH] Somehow this bug has been around since 0.77.0 --- plugins/Scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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).