diff --git a/server/chat-commands/info.ts b/server/chat-commands/info.ts index 8d44299af0..0eb2f73779 100644 --- a/server/chat-commands/info.ts +++ b/server/chat-commands/info.ts @@ -1737,7 +1737,7 @@ export const commands: Chat.ChatCommands = { randbatscalc: 'calc', rcalc: 'calc', calc(target, room, user, connection, cmd) { - if (cmd === 'calc' && target) return this.parse(`/math ${target}`); + if (cmd === 'calc' && target) return this.run('calculate'); if (!this.runBroadcast()) return; const DEFAULT_CALC_COMMANDS = ['honkalculator', 'honkocalc']; const RANDOMS_CALC_COMMANDS = ['randomscalc', 'randbatscalc', 'rcalc'];