aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-10-07 23:50:57 +0100
committerGravatar Sadie Powell2024-10-07 23:50:57 +0100
commit41b880dea769ccec5b410bc8269534ec9f6727ac (patch)
treefe9399a732f9101af611bbbe02c8d22d6f2ca150 /src/modules
parentImprove the restrictchans error message. (diff)
Silently do nothing if a module zaps all of the tags on a TAGMSG.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_ircv3_ctctags.cpp3
1 files changed, 0 insertions, 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);