From ecc61d3cbd2dc1bb8df54eeeef1fdd8d6ac6ce1f Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 28 Oct 2004 18:18:30 +0000 Subject: [PATCH] rest()ify Topic.set since we no longer combine all remaining args --- plugins/Topic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Topic.py b/plugins/Topic.py index b932dfbeb..2f5eb22d3 100644 --- a/plugins/Topic.py +++ b/plugins/Topic.py @@ -213,7 +213,7 @@ class Topic(callbacks.Privmsg): else: topics.append(topic) self._sendTopics(irc, channel, topics) - add = wrap(add, ['canChangeTopic', 'topic']) + add = wrap(add, ['canChangeTopic', rest('topic')]) def insert(self, irc, msg, args): """[] @@ -319,7 +319,7 @@ class Topic(callbacks.Privmsg): self._sendTopics(irc, channel, topics) set = wrap(set, ['canChangeTopic', optional('topicNumber', 0), - ('topic', False)]) + rest(('topic', False))]) def remove(self, irc, msg, args, channel, number): """[]