diff options
| author | 2018-08-28 12:23:57 +0100 | |
|---|---|---|
| committer | 2018-08-28 12:23:57 +0100 | |
| commit | e5a5fa5c4b40918247be8486d27a1676b6d2b044 (patch) | |
| tree | 70e61a968a20134b01ea4e4f5611e4e254df06ae /modules/soundcloud.py | |
| parent | Prevent users sending coins to themselves (diff) | |
| signature | ||
modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change logging
to be an object on the server object instead of an event call
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 97125255..2bdd4276 100644 --- a/modules/soundcloud.py +++ b/modules/soundcloud.py @@ -25,7 +25,7 @@ class Module(object): else: query = event["args"] else: - last_soundcloud = event["log"].find(REGEX_SOUNDCLOUD) + last_soundcloud = event["buffer"].find(REGEX_SOUNDCLOUD) if last_soundcloud: url = re.match(REGEX_SOUNDCLOUD, last_soundcloud.message).string |
