.log -> .buffer, i missed this one!
This commit is contained in:
parent
b699c120a0
commit
b62cd4be84
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Module(object):
|
|||
for_user = event["user"].nickname if Utils.get_closest_setting(
|
||||
event, "sed-sender-only", False
|
||||
) else None
|
||||
line = event["channel"].log.find(pattern, from_self=False,
|
||||
line = event["channel"].buffer.find(pattern, from_self=False,
|
||||
for_user=for_user, not_pattern=REGEX_SED)
|
||||
if line:
|
||||
new_message = re.sub(pattern, replace, line.message, count)
|
||||
|
|
Loading…
Reference in a new issue