Ver a proveniência

Remove the rule, not the user.

tags/v0.1^2
Ben Kurtovic há 11 anos
ascendente
cometimento
1a732c62a1
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      earwigbot/config/permissions.py

+ 1
- 1
earwigbot/config/permissions.py Ver ficheiro

@@ -89,7 +89,7 @@ class PermissionsDB(object):
with sqlite.connect(self._dbfile) as conn:
args = (user.nick, user.ident, user.host, rank)
conn.execute(query, args)
self._data[rank].remove(user)
self._data[rank].remove(rule)
return rule
except KeyError:
pass


Carregando…
Cancelar
Guardar