aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleKK.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/packets/handlers/handleKK.ts')
-rw-r--r--webAO/packets/handlers/handleKK.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/webAO/packets/handlers/handleKK.ts b/webAO/packets/handlers/handleKK.ts
index 4114139..7aedaa4 100644
--- a/webAO/packets/handlers/handleKK.ts
+++ b/webAO/packets/handlers/handleKK.ts
@@ -1,4 +1,4 @@
-import { safeTags } from "../../encoding";
+import { client } from "../../client";
import { handleBans } from "../../client/handleBans";
/**
@@ -6,5 +6,6 @@ import { handleBans } from "../../client/handleBans";
* @param {Array} args kick reason
*/
export const handleKK = (args: string[]) => {
- handleBans("Kicked", safeTags(args[1]));
+ client.banned = true;
+ handleBans("Kicked", args[1]);
};