From 385a4e3d4e1113d8e300e31a206c0796d6e8b84e Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 16 May 2019 14:27:07 +0100 Subject: [PATCH] `channel` -> `event["channel"]` --- modules/github/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)