aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-09 23:03:34 +0000
committerGravatar jesopo2019-01-09 23:03:34 +0000
commit55b61649f48d584fa7182c361558664d43cf81d9 (patch)
treec8b3e07d5c353e45adf14175a428434a937c29f2 /modules
parentCommand events don't have `"channel"`, they have `"target"` (github.py) (diff)
signature
copypaste fail, `event["args_split"][0]` -> `ref` (github.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
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)