diff options
| author | 2019-05-16 14:27:07 +0100 | |
|---|---|---|
| committer | 2019-05-16 14:27:07 +0100 | |
| commit | 385a4e3d4e1113d8e300e31a206c0796d6e8b84e (patch) | |
| tree | baba7f6162c258c1f5380c84c63320a927251cf3 /modules/github | |
| parent | Catch-and-bury utils.EventError in auto-github code (diff) | |
| signature | ||
`channel` -> `event["channel"]`
Diffstat (limited to 'modules/github')
| -rw-r--r-- | modules/github/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 3f9b6bd4..7bce73f0 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -233,7 +233,8 @@ class Module(ModuleManager.BaseModule): except utils.EventError: return 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"], module_name="Github", server=server, message=result, hide_prefix=hide_prefix) |
