Wrong number of arguments on error.

This commit is contained in:
Jeremy Fincher 2003-04-17 10:07:06 +00:00
parent 32268cdef8
commit b321ca8bb9
1 changed files with 1 additions and 1 deletions

View File

@ -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))