aboutsummaryrefslogtreecommitdiff
path: root/modules/github/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/github/__init__.py')
-rw-r--r--modules/github/__init__.py4
1 files 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):