diff options
| author | 2018-09-30 11:43:34 +0100 | |
|---|---|---|
| committer | 2018-09-30 11:43:34 +0100 | |
| commit | 30641ce312ff5ce768df5c83e54083f959401f39 (patch) | |
| tree | 923ba832e52cf6749650ca9c4791adb517fb360f /modules/title.py | |
| parent | Fix piece of modules/define.py._get_definition( that was accepting a word or an (diff) | |
| signature | ||
We don't need to explicitly pass "buffer" through on command events
Diffstat (limited to 'modules/title.py')
| -rw-r--r-- | modules/title.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/title.py b/modules/title.py index 80b450f8..ee00bc37 100644 --- a/modules/title.py +++ b/modules/title.py @@ -13,7 +13,7 @@ class Module(ModuleManager.BaseModule): if len(event["args"]) > 0: url = event["args_split"][0] else: - url = event["buffer"].find(REGEX_URL) + url = event["target"].buffer.find(REGEX_URL) if url: url = re.search(REGEX_URL, url.message).group(0) if not url: |
