aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleKB.ts
diff options
context:
space:
mode:
authorstonedDiscord <stonedDiscord@users.noreply.github.com>2024-11-20 13:31:50 +0000
committerGitHub Action <actions@github.com>2024-11-20 13:31:50 +0000
commit6684f3fce6e90fd0574d7bab63b629554ab03ef6 (patch)
treeb2a62247d17e23a77af57aea355ba621666817c2 /webAO/packets/handlers/handleKB.ts
parent95a2d1361d84c61b454ebe506e6963b93f6d8dee (diff)
Prettified Code!
Diffstat (limited to 'webAO/packets/handlers/handleKB.ts')
-rw-r--r--webAO/packets/handlers/handleKB.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/webAO/packets/handlers/handleKB.ts b/webAO/packets/handlers/handleKB.ts
index b0aa2b2..3192cb1 100644
--- a/webAO/packets/handlers/handleKB.ts
+++ b/webAO/packets/handlers/handleKB.ts
@@ -1,6 +1,6 @@
import { setBanned } from "../../client";
import { safeTags } from "../../encoding";
-import { handleBans } from '../../client/handleBans'
+import { handleBans } from "../../client/handleBans";
/**
* Handles the banned packet
@@ -8,6 +8,6 @@ import { handleBans } from '../../client/handleBans'
* @param {Array} args ban reason
*/
export const handleKB = (args: string[]) => {
- handleBans("Banned", safeTags(args[1]));
- setBanned(true);
-}
+ handleBans("Banned", safeTags(args[1]));
+ setBanned(true);
+};