Don't check github-hide-prefix in !ghwebhook

This commit is contained in:
jesopo 2019-03-02 09:30:53 +00:00
parent 6b3b2b6e87
commit 91a7f622b8

View file

@ -211,10 +211,6 @@ class Module(ModuleManager.BaseModule):
:usage: events <hook> [category [category ...]]
:usage: branches <hook> [branch [branch ...]]
"""
if event["target"].get_setting("github-hide-prefix", False):
event["stdout"].hide_prefix()
event["stderr"].hide_prefix()
all_hooks = event["target"].get_setting("github-hooks", {})
hook_name = None
existing_hook = None