Mutate the response when reversing

This commit is contained in:
2022-11-23 18:52:48 +00:00
parent 1bdd332e6e
commit ffc1aaa030

View File

@@ -328,7 +328,7 @@ class StorageBackend(ABC):
if kwargs.get("annotate"):
annotate_results(response)
if kwargs.get("reverse"):
response = response[::-1]
response.reverse()
if kwargs.get("dedup"):
if not kwargs.get("dedup_fields"):
dedup_fields = ["msg", "nick", "ident", "host", "net", "channel"]