From b62cd4be84ecea73057d202c2e81fce854fcf809 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 28 Aug 2018 14:55:35 +0100 Subject: [PATCH] .log -> .buffer, i missed this one! --- modules/sed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sed.py b/modules/sed.py index 7d64669d..38441132 100644 --- a/modules/sed.py +++ b/modules/sed.py @@ -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)