From f3d2af23a05cbae491d68f6e5fc563f0e29cafbb Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 21 Jan 2025 19:27:58 -0800 Subject: [PATCH] Update server.py --- server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.py b/server.py index e94a0e9..1b5f361 100644 --- a/server.py +++ b/server.py @@ -115,6 +115,9 @@ for i in mods['allsocket']: print(str(ex)) socketListeners.append(i.IRCatModule(**requires)) commandProviders = [] +nickname_list = {} # Stores nicknames and the respective sockets +lower_nicks = {"catserv": "CatServ"} # Nicknames in lowercase +property_list = {"CatServ": {"host": "IRCatCore", "username": "Meow", "realname": "Updates bot", "modes": "iw", "away": False}} # Stores properties for active users and channels for i in mods['command']: requires = {} for j in i.__ircat_requires__: @@ -150,10 +153,7 @@ if ssl_option: sockets_ssl[i].bind((i,6697)) sockets_ssl[i].listen(1) opened=True -nickname_list = {} # Stores nicknames and the respective sockets -lower_nicks = {"catserv": "CatServ"} # Nicknames in lowercase lower_chans = {} # Channel names in lowercase -property_list = {"CatServ": {"host": "IRCatCore", "username": "Meow", "realname": "Updates bot", "modes": "iw", "away": False}} # Stores properties for active users and channels def pinger(nick, connection): global property_list while nick in property_list: