From ad92bdb83f148a47c6c166d01fc1870ee05df38f Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 11 Jun 2019 10:02:35 +0100 Subject: Fix echo-message replies being considered a side effect. --- src/modules/m_ircv3_ctctags.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules') diff --git a/src/modules/m_ircv3_ctctags.cpp b/src/modules/m_ircv3_ctctags.cpp index e46646703..36e10a325 100644 --- a/src/modules/m_ircv3_ctctags.cpp +++ b/src/modules/m_ircv3_ctctags.cpp @@ -76,6 +76,7 @@ class CommandTagMsg : public Command unsigned int minrank = pm ? pm->GetPrefixRank() : 0; CTCTags::TagMessage message(source, chan, parameters.GetTags()); + message.SetSideEffect(true); const Channel::MemberMap& userlist = chan->GetUsers(); for (Channel::MemberMap::const_iterator iter = userlist.begin(); iter != userlist.end(); ++iter) { @@ -117,6 +118,7 @@ class CommandTagMsg : public Command if (InspIRCd::Match(ServerInstance->Config->ServerName, servername)) { CTCTags::TagMessage message(source, "$*", parameters.GetTags()); + message.SetSideEffect(true); const UserManager::LocalList& list = ServerInstance->Users.GetLocalUsers(); for (UserManager::LocalList::const_iterator iter = list.begin(); iter != list.end(); ++iter) { @@ -184,6 +186,7 @@ class CommandTagMsg : public Command { // Send to the target if they have the capability and are a local user. CTCTags::TagMessage message(source, localtarget, parameters.GetTags()); + message.SetSideEffect(true); localtarget->Send(msgevprov, message); } -- cgit v1.2.3