diff options
| author | stonedDiscord <stonedDiscord@users.noreply.github.com> | 2024-11-20 13:31:50 +0000 |
|---|---|---|
| committer | GitHub Action <actions@github.com> | 2024-11-20 13:31:50 +0000 |
| commit | 6684f3fce6e90fd0574d7bab63b629554ab03ef6 (patch) | |
| tree | b2a62247d17e23a77af57aea355ba621666817c2 /webAO/packets/handlers/handleBD.ts | |
| parent | 95a2d1361d84c61b454ebe506e6963b93f6d8dee (diff) | |
Prettified Code!
Diffstat (limited to 'webAO/packets/handlers/handleBD.ts')
| -rw-r--r-- | webAO/packets/handlers/handleBD.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/webAO/packets/handlers/handleBD.ts b/webAO/packets/handlers/handleBD.ts index dbfb54b..befda6a 100644 --- a/webAO/packets/handlers/handleBD.ts +++ b/webAO/packets/handlers/handleBD.ts @@ -1,7 +1,6 @@ import { setBanned } from "../../client"; import { safeTags } from "../../encoding"; -import { handleBans } from '../../client/handleBans' - +import { handleBans } from "../../client/handleBans"; /** * Handles the banned packet @@ -9,6 +8,6 @@ import { handleBans } from '../../client/handleBans' * @param {Array} args ban reason */ export const handleBD = (args: string[]) => { - handleBans("Banned", safeTags(args[1])); - setBanned(true); -}
\ No newline at end of file + handleBans("Banned", safeTags(args[1])); + setBanned(true); +}; |
