diff options
| author | stonedDiscord <Tukz@gmx.de> | 2024-12-24 15:02:47 +0100 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2024-12-24 15:02:47 +0100 |
| commit | 4676dd644a6bf4bf44240a523e6606a78397a2b1 (patch) | |
| tree | 9c2eb5394502d8065110f1aa376a21f3e7e56849 /webAO/packets/handlers/handleKB.ts | |
| parent | 2c410fcd93334cfbfd36df0827c867e84b06a4d7 (diff) | |
fix connection errors
Diffstat (limited to 'webAO/packets/handlers/handleKB.ts')
| -rw-r--r-- | webAO/packets/handlers/handleKB.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/packets/handlers/handleKB.ts b/webAO/packets/handlers/handleKB.ts index 78f5721..4679780 100644 --- a/webAO/packets/handlers/handleKB.ts +++ b/webAO/packets/handlers/handleKB.ts @@ -1,4 +1,4 @@ -import { setBanned } from "../../client"; +import { client } from "../../client"; import { handleBans } from "../../client/handleBans"; /** @@ -7,6 +7,6 @@ import { handleBans } from "../../client/handleBans"; * @param {Array} args ban reason */ export const handleKB = (args: string[]) => { + client.banned = true; handleBans("Banned", args[1]); - setBanned(true); }; |
