From de9bcd2bd3f68fae407cfdbf55c1722d6bfdd456 Mon Sep 17 00:00:00 2001 From: Brian Sherson Date: Mon, 9 Dec 2013 15:29:45 -0800 Subject: Adding License and minor sedbot fix --- sedbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sedbot.py') 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: -- cgit v1.2.3