Update server.py
All checks were successful
Check syntax / check (push) Successful in 14s
All checks were successful
Check syntax / check (push) Successful in 14s
This commit is contained in:
parent
fb511d28f8
commit
238dd85516
1 changed files with 1 additions and 2 deletions
|
@ -68,7 +68,6 @@ class IRCat_DATA_BROKER:
|
|||
return ["Nickname doesn't exist."]
|
||||
|
||||
config = IRCat_DATA_BROKER()
|
||||
ip = get('https://api.ipify.org').content.decode('utf8')
|
||||
tcp_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
tcp_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
server_address = (restrict_ip, 6667)
|
||||
|
@ -97,7 +96,7 @@ def pinger(nick, connection):
|
|||
connection.shutdown(socket.SHUT_WR)
|
||||
connection.close()
|
||||
break
|
||||
def session(connection, client, ip_to):
|
||||
def session(connection, client, ip):
|
||||
global property_list
|
||||
pending = "*" # The nickname of the client
|
||||
already_set = False # If the client gave the server a NICK packet
|
||||
|
|
Loading…
Reference in a new issue