diff options
| author | 2019-01-09 23:03:34 +0000 | |
|---|---|---|
| committer | 2019-01-09 23:03:34 +0000 | |
| commit | 55b61649f48d584fa7182c361558664d43cf81d9 (patch) | |
| tree | c8b3e07d5c353e45adf14175a428434a937c29f2 /modules/github.py | |
| parent | Command 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/github.py')
| -rw-r--r-- | modules/github.py | 2 |
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) |
