channel
-> event["channel"]
This commit is contained in:
parent
ce1558e48b
commit
385a4e3d4e
1 changed files with 2 additions and 1 deletions
|
@ -233,7 +233,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
except utils.EventError:
|
except utils.EventError:
|
||||||
return
|
return
|
||||||
if result:
|
if result:
|
||||||
hide_prefix = channel.get_setting("github-hide-prefix", False)
|
hide_prefix = event["channel"].get_setting(
|
||||||
|
"github-hide-prefix", False)
|
||||||
self.events.on("send.stdout").call(target=event["channel"],
|
self.events.on("send.stdout").call(target=event["channel"],
|
||||||
module_name="Github", server=server, message=result,
|
module_name="Github", server=server, message=result,
|
||||||
hide_prefix=hide_prefix)
|
hide_prefix=hide_prefix)
|
||||||
|
|
Loading…
Reference in a new issue