match.group(0) -> ref

This commit is contained in:
jesopo 2019-05-18 11:07:42 +01:00
parent c474702afb
commit 0a89682816

View file

@ -247,7 +247,7 @@ class Module(ModuleManager.BaseModule):
if ref and event["channel"].get_setting("auto-github", False): if ref and event["channel"].get_setting("auto-github", False):
try: try:
result = self._get_info(event["channel"], match.group(0)) result = self._get_info(event["channel"], ref)
except utils.EventError: except utils.EventError:
return return
if result: if result: