summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/untrackme.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/untrackme.py b/plugins/untrackme.py
index 8027c755..c5db1a9d 100644
--- a/plugins/untrackme.py
+++ b/plugins/untrackme.py
@@ -111,13 +111,13 @@ class Plugin(BasePlugin):
if self.config.get('redirect', section='default'):
msg['body'] = self.redirect_url(msg['body'])
- log.debug(
- 'UntrackMe in tab \'%s\':\nOriginal: %s\nModified: %s',
- tab.name, orig, msg['body'],
- )
-
if self.config.get('display_corrections', section='default') and \
msg['body'] != orig:
+ log.debug(
+ 'UntrackMe in tab \'%s\':\nOriginal: %s\nModified: %s',
+ tab.name, orig, msg['body'],
+ )
+
self.api.information(
'UntrackMe in tab \'{}\':\nOriginal: {}\nModified: {}'.format(
tab.name, orig, msg['body']