diff --git a/evennia/server/portal/portal.py b/evennia/server/portal/portal.py index 4bdd8d41ad..6c47d6f82b 100644 --- a/evennia/server/portal/portal.py +++ b/evennia/server/portal/portal.py @@ -394,7 +394,7 @@ if WEBSERVER_ENABLED: w_interface = WEBSOCKET_CLIENT_INTERFACE w_ifacestr = "" if w_interface not in ("0.0.0.0", "::") or len(WEBSERVER_INTERFACES) > 1: - w_ifacestr = "-%s" % interface + w_ifacestr = "-%s" % w_interface port = WEBSOCKET_CLIENT_PORT class Websocket(WebSocketServerFactory):