This commit is contained in:
bash
2026-01-16 21:35:16 +01:00
parent 8f1ba2a484
commit 1589861810
+5
View File
@@ -335,12 +335,17 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket& recvData)
msg.erase(end, msg.end()); msg.erase(end, msg.end());
} }
// mod_playerbots: skip validation for playerbots module
auto playerbotsHyperlink = msg.find("Hfound:") != std::string::npos;
if (!playerbotsHyperlink)
{
// Validate hyperlinks // Validate hyperlinks
if (!ValidateHyperlinksAndMaybeKick(msg)) if (!ValidateHyperlinksAndMaybeKick(msg))
{ {
return; return;
} }
} }
}
else else
{ {