diff options
| author | 2018-09-30 11:43:34 +0100 | |
|---|---|---|
| committer | 2018-09-30 11:43:34 +0100 | |
| commit | 30641ce312ff5ce768df5c83e54083f959401f39 (patch) | |
| tree | 923ba832e52cf6749650ca9c4791adb517fb360f /modules/soundcloud.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/soundcloud.py')
| -rw-r--r-- | modules/soundcloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/soundcloud.py b/modules/soundcloud.py index bb33b846..4ed2e787 100644 --- a/modules/soundcloud.py +++ b/modules/soundcloud.py @@ -25,7 +25,7 @@ class Module(ModuleManager.BaseModule): else: query = event["args"] else: - last_soundcloud = event["buffer"].find(REGEX_SOUNDCLOUD) + last_soundcloud = event["target"].buffer.find(REGEX_SOUNDCLOUD) if last_soundcloud: url = re.match(REGEX_SOUNDCLOUD, last_soundcloud.message).string |
