Mutate the response when reversing

This commit is contained in:
Mark Veidemanis 2022-11-23 18:52:48 +00:00
parent 1bdd332e6e
commit ffc1aaa030
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

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"]