diff options
| author | 2019-05-22 19:03:51 +0100 | |
|---|---|---|
| committer | 2019-05-22 19:03:51 +0100 | |
| commit | f066dbb2320043328a39d23c4118184d83732840 (patch) | |
| tree | 1b8e566955ff6cf5fc76ed03e2c183949f57f3b0 /modules | |
| parent | `target_str` is BitBot's own nickname for private messages (diff) | |
| signature | ||
`url_match` -> `event["match"]`
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/github/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 33bc531a..801b9390 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -234,8 +234,8 @@ class Module(ModuleManager.BaseModule): :pattern: https?://github.com/([^/]+)/([^/]+)/(pull|issues)/(\d+) """ if event["target"].get_setting("auto-github", False): - ref = "%s/%s#%s" % ( - url_match.group(1), url_match.group(2), url_match.group(4)) + ref = "%s/%s#%s" % (event["match"].group(1), + event["match"].group(2), event["match"].group(4)) try: result = self._get_info(event["target"], ref) except utils.EventError: |
