From 76f40f1da24a235b20f6bdb26f605dfe25e880ac Mon Sep 17 00:00:00 2001
From: ValekoZ <lucas.valentin88@gmail.com>
Date: Fri, 27 Sep 2024 13:38:32 +0200
Subject: [PATCH] fix filters not defined

---
 gef.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gef.py b/gef.py
index 951dc3a05..f17b12cc0 100644
--- a/gef.py
+++ b/gef.py
@@ -8941,7 +8941,7 @@ def do_invoke(self, _: List[str], **kwargs: Any) -> None:
             if len(names) + len(addrs) == 0:
                 self.print_entry(entry)
 
-            elif filters:
+            elif names_filter or addrs_filter:
                 if filter_content != last_printed_filter:
                     gef_print() # skip a line between different filters
                     gef_print(Color.greenify(filter_content))