mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Merge pull request #370 from nyuszika7h/topic_save
Topic: Reply success when saving topic if there was no error
This commit is contained in:
commit
01c0ca63e5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user