PERDON POR TODO 2
Some checks are pending
CI / build-windows (push) Blocked by required conditions
CI / build-linux (push) Blocked by required conditions
CI / check-clang-format (push) Waiting to run

This commit is contained in:
simio 2025-03-29 07:38:00 -03:00
parent 857a7fb33f
commit 0523d0aee9

View File

@ -132,7 +132,6 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const
&& l_incoming_msg == client.m_last_message // and it matches the one you're sending, && l_incoming_msg == client.m_last_message // and it matches the one you're sending,
&& !msg_is_testimony_cmd) // and it's not a testimony command, && !msg_is_testimony_cmd) // and it's not a testimony command,
return l_invalid; // get it the hell outta here! return l_invalid; // get it the hell outta here!
if (l_incoming_msg == client.m_last_message && !msg_is_testimony_cmd) return l_invalid;
if (l_incoming_msg == "" && area->blankpostingAllowed() == false) { if (l_incoming_msg == "" && area->blankpostingAllowed() == false) {
client.sendServerMessage("Blankposting has been forbidden in this area."); client.sendServerMessage("Blankposting has been forbidden in this area.");