summaryrefslogtreecommitdiff
path: root/redis/commands/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/commands/parser.py')
-rw-r--r--redis/commands/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/commands/parser.py b/redis/commands/parser.py
index 7560603..115230a 100644
--- a/redis/commands/parser.py
+++ b/redis/commands/parser.py
@@ -79,7 +79,7 @@ class CommandsParser:
command = self.commands.get(cmd_name)
if "movablekeys" in command["flags"]:
keys = self._get_moveable_keys(redis_conn, *args)
- elif "pubsub" in command["flags"]:
+ elif "pubsub" in command["flags"] or command["name"] == "pubsub":
keys = self._get_pubsub_keys(*args)
else:
if (