diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-11 10:02:35 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-11 10:04:15 +0100 |
commit | ad92bdb83f148a47c6c166d01fc1870ee05df38f (patch) | |
tree | c772e84a8bb974e988c0afc1babad2aef086d723 /src/modules | |
parent | 2aeb1606e5e90d087f0368409dd72709ba01b759 (diff) |
Fix echo-message replies being considered a side effect.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_ircv3_ctctags.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |