Topic: @save can now be called even if the bot is not opped.

This commit is contained in:
Valentin Lorentz 2013-06-09 13:03:35 +00:00
parent 8ca95112d8
commit 8095f34250

View File

@ -590,7 +590,7 @@ class Topic(callbacks.Plugin):
else:
self.setRegistryValue('default', value='', channel=channel)
irc.replySuccess()
save = wrap(save, ['canChangeTopic'])
save = wrap(save, ['channel', 'inChannel'])
@internationalizeDocstring
def default(self, irc, msg, args, channel):