From 3613cdd255f2fba829f298be888312a71f6651c1 Mon Sep 17 00:00:00 2001 From: Linventif Date: Sun, 31 Mar 2024 20:00:48 +0200 Subject: [PATCH] fix: websocket activation --- lua/gmod_integration/server/sv__websocket.lua | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lua/gmod_integration/server/sv__websocket.lua b/lua/gmod_integration/server/sv__websocket.lua index 988771f..3ad0dad 100644 --- a/lua/gmod_integration/server/sv__websocket.lua +++ b/lua/gmod_integration/server/sv__websocket.lua @@ -2,22 +2,6 @@ // WebSocket // -local useWebsocket = false -local websocketFeature = { - 'syncChat', - 'websocket', -} - -for k, v in pairs(websocketFeature) do - if (gmInte.config[v]) then - useWebsocket = true - end -end - -if (!useWebsocket) then - return gmInte.log("WebSocket is not used") -end - require("gwsockets") if (!GWSockets) then