summaryrefslogtreecommitdiff
path: root/plugins/autocorrect.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/autocorrect.py')
-rw-r--r--plugins/autocorrect.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/autocorrect.py b/plugins/autocorrect.py
index 09e6bf44..32611483 100644
--- a/plugins/autocorrect.py
+++ b/plugins/autocorrect.py
@@ -74,8 +74,6 @@ class Plugin(BasePlugin):
if typ == 's':
try:
- regex = re.compile(remove)
-
if replace_all:
new_body = re.sub(remove, put, body)
else: