This commit is contained in:
parent
f431a7987a
commit
2c43516dc4
1 changed files with 1 additions and 1 deletions
|
@ -30,5 +30,5 @@ class broker:
|
||||||
def nickserv_register(self, nick, password, email):
|
def nickserv_register(self, nick, password, email):
|
||||||
hashed = self.fnet.encrypt(bytes(password, "UTF-8")).decode()
|
hashed = self.fnet.encrypt(bytes(password, "UTF-8")).decode()
|
||||||
db = self.conn.cursor()
|
db = self.conn.cursor()
|
||||||
db.execute("INSERT INTO nickserv values(?, 'iw', ?, ?, ?);", [nick, hashed, f"user/{nick}", email])
|
db.execute("INSERT INTO nickserv values(?, 'iw', ?, ?);", [nick, hashed, email])
|
||||||
self.conn.commit()
|
self.conn.commit()
|
Loading…
Add table
Reference in a new issue