From db7e5677d3c240df304b38e610069dd819e48a6f Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 28 Oct 2020 22:30:49 +0000 Subject: [PATCH] Fix decoding issue with some Redis keys --- modules/userinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/userinfo.py b/modules/userinfo.py index 11234ad..fef0faa 100644 --- a/modules/userinfo.py +++ b/modules/userinfo.py @@ -204,7 +204,7 @@ def delUserByNetwork(name, nick, user): # quit p.srem(gnamespace, user) for i in main.r.smembers(chanspace): p.srem("live.who."+name+"."+i.decode(), nick) - p.hdel("live.prefix."+name+"."+i, nick) + p.hdel("live.prefix."+name+"."+i.decode(), nick) p.delete(chanspace) p.hdel(mapspace, nick)