aboutsummaryrefslogtreecommitdiff
path: root/modules/title.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-28 12:23:57 +0100
committerGravatar jesopo2018-08-28 12:23:57 +0100
commite5a5fa5c4b40918247be8486d27a1676b6d2b044 (patch)
tree70e61a968a20134b01ea4e4f5611e4e254df06ae /modules/title.py
parentPrevent 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/title.py')
-rw-r--r--modules/title.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/title.py b/modules/title.py
index 6ccc7044..df19a6ec 100644
--- a/modules/title.py
+++ b/modules/title.py
@@ -14,7 +14,7 @@ class Module(object):
if len(event["args"]) > 0:
url = event["args_split"][0]
else:
- url = event["log"].find(REGEX_URL)
+ url = event["buffer"].find(REGEX_URL)
if url:
url = re.search(REGEX_URL, url.message).group(0)
if not url: