diff --git a/server.py b/server.py index 3a575fa..58c7335 100644 --- a/server.py +++ b/server.py @@ -342,7 +342,7 @@ def session(connection, client, ip, isssl=False): capsuccess = False break if capsuccess: - connection.sendall(f":{server} CAP * ACK :{capabilities}") + connection.sendall(bytes(f":{server} CAP * ACK :{capabilities}", "UTF-8")) elif args[0].upper() == "END": CAPEND = True elif command == "WEBIRC" and not finished: