mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-29 21:54:22 +01:00
Wrong number of arguments on error.
This commit is contained in:
parent
32268cdef8
commit
b321ca8bb9
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user