Silently do nothing if a module zaps all of the tags on a TAGMSG.

This commit is contained in:
Sadie Powell 2024-10-07 23:50:57 +01:00
parent 127ab6bffc
commit 41b880dea7

View File

@ -45,10 +45,7 @@ private:
// Check whether a module zapped the message tags.
if (msgdetails.tags_out.empty())
{
source->WriteNumeric(ERR_NOTEXTTOSEND, "No tags to send");
return false;
}
// Inform modules that a TAGMSG is about to be sent.
tagevprov.Call(&CTCTags::EventListener::OnUserTagMessage, source, msgtarget, msgdetails);