From b321ca8bb936d3a69a432a998e90db68df3734de Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 17 Apr 2003 10:07:06 +0000 Subject: [PATCH] Wrong number of arguments on error. --- plugins/Topic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Topic.py b/plugins/Topic.py index a4f05ddd0..a89c8696b 100644 --- a/plugins/Topic.py +++ b/plugins/Topic.py @@ -178,7 +178,7 @@ class Topic(callbacks.Privmsg): username = msg.nick if name != username and \ not ircdb.checkCapabilities(msg.prefix, ('op', 'admin')): - irc.error('You can only remove your own topics.') + irc.error(msg, 'You can only remove your own topics.') return newTopic = self.topicSeparator.join(topics) irc.queueMsg(ircmsgs.topic(channel, newTopic))