From d8246a9fe1785c947e7bf34dc56e6a635931f1d0 Mon Sep 17 00:00:00 2001 From: swee Date: Thu, 2 Jan 2025 19:53:39 -0800 Subject: [PATCH] Update server.py --- server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 2166a78..cec1eb2 100644 --- a/server.py +++ b/server.py @@ -104,7 +104,6 @@ lower_nicks = {"gitserv": "GitServ", "nickserv": "NickServ"} # Nicknames in lo channels_list = {} # Store channels and their user lists lower_chans = {} # Channel names in lowercase property_list = {"GitServ": {"host": "IRCatCore", "username": "IRCat", "realname": "Codename IRCat Integrated services - Updates bot"},"NickServ": {"host": "IRCatCore", "username": "IRCat", "realname": "Codename IRCat Integrated services - Login bot", "away": False}} # Stores properties for active users and channels -print("Now listening on port 6667") def pinger(nick, connection): global property_list while nick in property_list: @@ -620,7 +619,9 @@ def ssl_session(sock2): print("Something went wrong...") print(traceback.format_exc()) for ip, i in sockets.items(): + print("Now listening on port 6667 with IP " + ip) threading.Thread(target=tcp_session, args=[i]).start() if ssl_option: for ip, i in sockets_ssl.items(): + print("Now listening on SSL port 6697 with IP " + ip) threading.Thread(target=ssl_session, args=[i]).start() \ No newline at end of file