diff --git a/server.py b/server.py index 1470599..49b0228 100644 --- a/server.py +++ b/server.py @@ -310,7 +310,10 @@ def session(connection, client, ip, isssl=False): try: if args[0] == data2["webirc_pass"]: hostname = args[2] + client[0] = args[3] connection.sendall(bytes(f":{server} NOTICE * :*** WebIRC detected, welcome to IRC!\r\n", "UTF-8")) + if hostname != client[0]: + connection.sendall(bytes(f":{server} NOTICE * :*** Got WebIRC hostname! {hostname}\r\n", "UTF-8")) except: print(traceback.format_exc()) break