Limit modcall reason size to 100.

This commit is contained in:
Cerapter 2018-07-28 18:35:48 +02:00
parent e8f07c68c2
commit cfc2d74d30

View File

@ -2438,6 +2438,7 @@ void Courtroom::on_call_mod_clicked()
"", &ok); "", &ok);
if (ok) if (ok)
{ {
text = text.chopped(100);
ao_app->send_server_packet(new AOPacket("ZZ#" + text + "#%")); ao_app->send_server_packet(new AOPacket("ZZ#" + text + "#%"));
} }