Fix decoding issue with some Redis keys

This commit is contained in:
Mark Veidemanis 2020-10-28 22:30:49 +00:00
parent 6acb106761
commit b16b5d690b
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ def delUserByNetwork(name, nick, user): # quit
p.srem(gnamespace, user) p.srem(gnamespace, user)
for i in main.r.smembers(chanspace): for i in main.r.smembers(chanspace):
p.srem("live.who."+name+"."+i.decode(), nick) 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.delete(chanspace)
p.hdel(mapspace, nick) p.hdel(mapspace, nick)