close server
This commit is contained in:
parent
91fe862d64
commit
2364bfadb1
1 changed files with 1 additions and 0 deletions
|
@ -351,6 +351,7 @@ def session(connection, client):
|
|||
if "o" in property_list[pending]["modes"]:
|
||||
tcp_socket.shutdown(socket.SHUT_RDWR)
|
||||
tcp_socket.close()
|
||||
global opened
|
||||
opened = False
|
||||
else:
|
||||
connection.sendall(bytes(f":{server} 481 {pending} :Permission Denied- You're not an IRC operator\r\n","UTF-8"))
|
||||
|
|
Loading…
Reference in a new issue