Limit modcall reason size to 100.
This commit is contained in:
parent
e8f07c68c2
commit
cfc2d74d30
@ -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 + "#%"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user