aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-09-07 17:04:01 +0100
committerGravatar Sadie Powell2025-09-07 17:04:01 +0100
commit88cc937bcbf9300ac96967407333d56487c9804e (patch)
tree86a0fc64a68f1c044b6275ba7fc1c68d6ee9bb9a
parentFix a log message that should be a debug message not critical. (diff)
Always silently drop tagless TAGMSG messages.
This happens because of client bugs but there's not a lot users can do about this and telling them just annoys them.
-rw-r--r--src/modules/m_ircv3_ctctags.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_ircv3_ctctags.cpp b/src/modules/m_ircv3_ctctags.cpp
index 2ef4089e4..0b1904f90 100644
--- a/src/modules/m_ircv3_ctctags.cpp
+++ b/src/modules/m_ircv3_ctctags.cpp
@@ -229,12 +229,10 @@ public:
if (IS_LOCAL(user) && !cap.IsEnabled(user))
return CmdResult::FAILURE;
- // The specified message tags were empty.
+ // The specified message tags were empty. This probably means that client
+ // only tags are disabled.
if (parameters.GetTags().empty())
- {
- user->WriteNumeric(ERR_NOTEXTTOSEND, "No tags to send");
return CmdResult::FAILURE;
- }
// The target is a server glob.
if (parameters[0][0] == '$')