Merge pull request #370 from nyuszika7h/topic_save

Topic: Reply success when saving topic if there was no error
This commit is contained in:
Valentin Lorentz 2012-06-10 04:26:12 -07:00
commit 01c0ca63e5

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