mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Silently do nothing if a module zaps all of the tags on a TAGMSG.
This commit is contained in:
parent
127ab6bffc
commit
41b880dea7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user