remove_noreply_address() - use sanitized address
This commit is contained in:
parent
6078a994f2
commit
b3a3136859
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ def remove_noreply_address(env, address, do_kick=True):
|
|||
|
||||
# yeet yeet deleet
|
||||
conn, c = open_database(env, with_connection=True)
|
||||
c.execute("DELETE FROM noreply WHERE email=?", (address,))
|
||||
c.execute("DELETE FROM noreply WHERE email=?", (email,))
|
||||
if c.rowcount != 1:
|
||||
return ("That's not a noreply (%s)." % address, 400)
|
||||
conn.commit()
|
||||
|
|
Loading…
Reference in a new issue