diff options
Diffstat (limited to 'webAO/packets/handlers/handleBD.ts')
| -rw-r--r-- | webAO/packets/handlers/handleBD.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/packets/handlers/handleBD.ts b/webAO/packets/handlers/handleBD.ts index 47c191d..fde4fe1 100644 --- a/webAO/packets/handlers/handleBD.ts +++ b/webAO/packets/handlers/handleBD.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 handleBD = (args: string[]) => { + client.banned = true; handleBans("Banned", args[1]); - setBanned(true); }; |
