From 41b880dea769ccec5b410bc8269534ec9f6727ac Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 7 Oct 2024 23:50:57 +0100 Subject: [PATCH] Silently do nothing if a module zaps all of the tags on a TAGMSG. --- src/modules/m_ircv3_ctctags.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modules/m_ircv3_ctctags.cpp b/src/modules/m_ircv3_ctctags.cpp index fca233826..2ef4089e4 100644 --- a/src/modules/m_ircv3_ctctags.cpp +++ b/src/modules/m_ircv3_ctctags.cpp @@ -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);