diff --git a/server.py b/server.py index 1b7b476..fa13c51 100644 --- a/server.py +++ b/server.py @@ -283,6 +283,7 @@ def session(connection, client): if len(args) == 0: connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8")) else: + global property_list channel = text.split(" ")[1] if channel in channels_list: for i in channels_list[channel]: