copypaste fail, event["args_split"][0] -> ref (github.py)

This commit is contained in:
jesopo 2019-01-09 23:03:34 +00:00
parent bba5733736
commit 55b61649f4

View file

@ -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)