Topic: Reply success when saving topic if there was no error

This commit is contained in:
nyuszika7h 2012-06-09 20:30:14 +02:00
parent 9723e14a4d
commit d827dfa580

View File

@ -589,6 +589,7 @@ class Topic(callbacks.Plugin):
self.setRegistryValue('default', value=topic, channel=channel) self.setRegistryValue('default', value=topic, channel=channel)
else: else:
self.setRegistryValue('default', value='', channel=channel) self.setRegistryValue('default', value='', channel=channel)
irc.replySuccess()
save = wrap(save, ['canChangeTopic']) save = wrap(save, ['canChangeTopic'])
@internationalizeDocstring @internationalizeDocstring