From 55b61649f48d584fa7182c361558664d43cf81d9 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 9 Jan 2019 23:03:34 +0000 Subject: copypaste fail, `event["args_split"][0]` -> `ref` (github.py) --- modules/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/github.py') diff --git a/modules/github.py b/modules/github.py index 9feddc48..17ef37f9 100644 --- a/modules/github.py +++ b/modules/github.py @@ -40,7 +40,7 @@ COMMENT_ACTIONS = { "help": "Set the default github repo for the current channel"}) class Module(ModuleManager.BaseModule): def _parse_ref(self, channel, ref): - repo, _, number = event["args_split"][0].partition("#") + repo, _, number = ref.partition("#") if not repo: repo = channel.get_setting("github-default-repo", None) -- cgit v1.3.1-10-gc9f91