From 8103c1625373e158e8dc2877c15b52bbee57ac86 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 31 May 2020 21:54:43 +0100 Subject: [PATCH] Fix syntax error in redis query --- modules/userinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/userinfo.py b/modules/userinfo.py index 94a52c4..706089e 100644 --- a/modules/userinfo.py +++ b/modules/userinfo.py @@ -151,7 +151,7 @@ def getUserByNick(name, nick): warn("Entry doesn't exist: %s on %s - attempting auxiliary lookup" % (nick, mapspace)) #return False # legacy code below - remove when map is reliable - usermatch = main.r.sscan(gnamespace, match=escape(nick)+"!*", count=-1) + usermatch = main.r.sscan(gnamespace, match=escape(nick)+"!*", count=999999999) if usermatch[1] == []: warn("No matches found for user query: %s on %s" % (nick, name)) return False