From cfc2d74d303787c8694f735f6fe3d1f989073c32 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Sat, 28 Jul 2018 18:35:48 +0200 Subject: [PATCH] Limit modcall reason size to 100. --- courtroom.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/courtroom.cpp b/courtroom.cpp index b70ec0b..d0765b1 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -2438,6 +2438,7 @@ void Courtroom::on_call_mod_clicked() "", &ok); if (ok) { + text = text.chopped(100); ao_app->send_server_packet(new AOPacket("ZZ#" + text + "#%")); }