This commit is contained in:
parent
dafa4827d5
commit
302df7eab9
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class broker:
|
||||||
self.fnet = Fernet(fernet_key)
|
self.fnet = Fernet(fernet_key)
|
||||||
db = self.conn.cursor()
|
db = self.conn.cursor()
|
||||||
db.execute("""CREATE table IF NOT EXISTS bans (ip varchar(255), reason varchar(255))""")
|
db.execute("""CREATE table IF NOT EXISTS bans (ip varchar(255), reason varchar(255))""")
|
||||||
db.execute("""CREATE table IF NOT EXISTS nickserv (user varchar(255), modes varchar(255), hash varchar(255), cloak varchar(255), email varchar(255))""")
|
db.execute("""CREATE table IF NOT EXISTS nickserv (user varchar(255), modes varchar(255), hash varchar(255), email varchar(255))""")
|
||||||
db.execute("""CREATE table IF NOT EXISTS groups (name varchar(255), owner varchar(255))""")
|
db.execute("""CREATE table IF NOT EXISTS groups (name varchar(255), owner varchar(255))""")
|
||||||
db.execute("""CREATE table IF NOT EXISTS chanserv (name varchar(255), modes varchar(255), params varchar(255), owner varchar(255), usermodes varchar(255), optimodes varchar(255))""")
|
db.execute("""CREATE table IF NOT EXISTS chanserv (name varchar(255), modes varchar(255), params varchar(255), owner varchar(255), usermodes varchar(255), optimodes varchar(255))""")
|
||||||
def nickserv_identify(self, nick, password:str):
|
def nickserv_identify(self, nick, password:str):
|
||||||
|
|
Loading…
Add table
Reference in a new issue