summaryrefslogtreecommitdiff
path: root/plugins/display_corrections.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/display_corrections.py')
-rw-r--r--plugins/display_corrections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/display_corrections.py b/plugins/display_corrections.py
index e9e8a2e4..99982ec9 100644
--- a/plugins/display_corrections.py
+++ b/plugins/display_corrections.py
@@ -43,7 +43,7 @@ class Plugin(BasePlugin):
messages = self.api.get_conversation_messages()
if not messages:
return None
- for message in messages[::-1]:
+ for message in reversed(messages):
if message.old_message:
if nb == 1:
return message