From 7edd8601be088c936d277fa973faf486b4196f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 20 May 2024 18:11:13 +0800 Subject: [PATCH] fix --- src/onebot11/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 62691ff8..3f83ab3b 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -289,7 +289,7 @@ export class NapCatOnebot11 { // ws重启逻辑 if ((isEnableWsChanged || isWsChanged) && NewOb11.ws.enable) { if (OldConfig.ws.enable) { - ob11HTTPServer.stop(); + ob11WebsocketServer.stop(); } ob11WebsocketServer.start(NewOb11.ws.port, NewOb11.ws.host); } else if (isHttpEnableChanged && !NewOb11.http.enable) {