aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/sender/sendZZ.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/sender/sendZZ.ts')
-rw-r--r--webAO/client/sender/sendZZ.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/webAO/client/sender/sendZZ.ts b/webAO/client/sender/sendZZ.ts
index e9bd443..5ff3713 100644
--- a/webAO/client/sender/sendZZ.ts
+++ b/webAO/client/sender/sendZZ.ts
@@ -4,10 +4,6 @@ import { client, extrafeatures } from "../../client";
* Sends call mod command.
* @param {string} message to mod
*/
-export const sendZZ = (msg: string) => {
- if (extrafeatures.includes("modcall_reason")) {
- client.sender.sendServer(`ZZ#${msg}#%`);
- } else {
- client.sender.sendServer("ZZ#%");
- }
+export const sendZZ = (msg: string, target: number) => {
+ client.sender.sendServer(`ZZ#${msg}#${target}#%`);
};