From edb96f683b3e1d145d8cace106fb535f9feac95b Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Mon, 15 Apr 2024 07:52:48 +0200 Subject: [PATCH] cap: type the boolean --- server/plugins/irc-events/cap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/plugins/irc-events/cap.ts b/server/plugins/irc-events/cap.ts index cb4c6864..c566a738 100644 --- a/server/plugins/irc-events/cap.ts +++ b/server/plugins/irc-events/cap.ts @@ -14,7 +14,7 @@ export default function (irc, network) { handleSTS(data, false); }); - function handleSTS(data, shouldReconnect) { + function handleSTS(data, shouldReconnect: boolean) { if (!Object.prototype.hasOwnProperty.call(data.capabilities, "sts")) { return; }