re-add lost REST API successful return

This commit is contained in:
jesopo 2019-06-24 15:21:58 +01:00
parent 5e51086cdd
commit 65a99c7a84

View file

@ -98,6 +98,8 @@ class Module(ModuleManager.BaseModule):
module_name=webhook_name, server=server, message=output, module_name=webhook_name, server=server, message=output,
hide_prefix=hide_prefix) hide_prefix=hide_prefix)
return {"state": "success", "deliveries": len(targets)}
def _prevent_highlight(self, server, channel, s): def _prevent_highlight(self, server, channel, s):
for user in channel.users: for user in channel.users:
if len(user.nickname) == 1: if len(user.nickname) == 1: