From 3bbc4b3b773ec13823b2ca9a0f34567afb7de79a Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 16 May 2019 14:28:20 +0100 Subject: [PATCH] `server` -> `event["server"]` --- modules/github/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 7bce73f0..670d1ab7 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -236,8 +236,8 @@ class Module(ModuleManager.BaseModule): 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) + module_name="Github", server=event["server"], + message=result, hide_prefix=hide_prefix) @utils.hook("received.command.ghwebhook", min_args=1, channel_only=True) def github_webhook(self, event):