From 0c6b493d247650cd882f0a7f745c894906926636 Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 21 Jan 2025 18:03:45 -0800 Subject: [PATCH] Update modules/sqlite_local.py --- modules/sqlite_local.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/sqlite_local.py b/modules/sqlite_local.py index 5c52cc9..3fc29f9 100644 --- a/modules/sqlite_local.py +++ b/modules/sqlite_local.py @@ -9,6 +9,7 @@ class broker: open(data_path, "w").write("") self.conn = sqlite3.connect(data_path) 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 nickserv (user varchar(255), modes varchar(255), hash varchar(255), cloak 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))""")