diff options
| author | 2019-02-27 14:52:10 +0000 | |
|---|---|---|
| committer | 2019-02-27 14:52:10 +0000 | |
| commit | 52092cfe283198f435eb739e501c16adbfb4ae0c (patch) | |
| tree | dac44993bf24e4d7a86bdb8a80a561fbb777ad6a | |
| parent | Show sender of an issue_comment, not the original commenter (for edits) (diff) | |
| signature | ||
Make github-hide-prefix apply to !gt as well
| -rw-r--r-- | modules/github/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 9159cd16..e2098783 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -175,6 +175,10 @@ 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 |
