diff options
| author | 2018-08-28 12:23:57 +0100 | |
|---|---|---|
| committer | 2018-08-28 12:23:57 +0100 | |
| commit | e5a5fa5c4b40918247be8486d27a1676b6d2b044 (patch) | |
| tree | 70e61a968a20134b01ea4e4f5611e4e254df06ae /modules/youtube.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/youtube.py')
| -rw-r--r-- | modules/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/youtube.py b/modules/youtube.py index 96f25689..51bcac38 100644 --- a/modules/youtube.py +++ b/modules/youtube.py @@ -72,7 +72,7 @@ class Module(object): if event["args"]: search = event["args"] else: - last_youtube = event["log"].find(REGEX_YOUTUBE) + last_youtube = event["buffer"].find(REGEX_YOUTUBE) if last_youtube: video_id = re.search(REGEX_YOUTUBE, last_youtube.message).group(1) if search or video_id: |
