summaryrefslogtreecommitdiff
path: root/sedbot.py
diff options
context:
space:
mode:
Diffstat (limited to 'sedbot.py')
-rw-r--r--sedbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sedbot.py b/sedbot.py
index d13105b..e7d9d61 100644
--- a/sedbot.py
+++ b/sedbot.py
@@ -29,7 +29,7 @@ class SED(object):
if channel != channel2:
continue
try:
- if re.findall(find, msg2):
+ if re.findall(find, msg2, flags=re.I if "i" in flags else 0):
sub = re.sub(find, replace, msg2, flags=re.I if "i" in flags else 0)
match = True
else: