From e5416fd863632c537e55a507374278030a3ae05c Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 11 Dec 2024 22:05:01 -0800 Subject: [PATCH] Update server.py --- server.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 9c83371..e89e7a9 100644 --- a/server.py +++ b/server.py @@ -42,7 +42,8 @@ class IRCat_DATA_BROKER: user varchar(255), modes varchar(255), hash varchar(255), -group varchar(255))""") +group varchar(255), +);""") self.db.execute(''' SELECT count(name) FROM sqlite_master WHERE type='table' AND name='chanserv' ''') if self.db.fetchall()[0]!=1: print("Creating ChanServ table...") @@ -52,7 +53,8 @@ modes varchar(255), params varchar(255), owner varchar(255), usermodes varchar(255), -optimodes varchar(255))""") +optimodes varchar(255), +);""") config = IRCat_DATA_BROKER() ip = get('https://api.ipify.org').content.decode('utf8') tcp_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)