summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-09-06 10:09:09 +0100
committerPeter Powell <petpow@saberuk.com>2019-02-19 22:53:15 +0000
commitc495b5d9cf8bed4f07c0b77a1f9e98dcc1f62068 (patch)
tree98e522226c9bb73f2fbb074c88d01c1672248fa0 /src/modules/m_spanningtree
parent74136695f88ded34f1413b546ad1b0699404bfe8 (diff)
Implement support for IRCv3 client-to-client tags.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/compat.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp
index 17bc7cbc6..17b44f896 100644
--- a/src/modules/m_spanningtree/compat.cpp
+++ b/src/modules/m_spanningtree/compat.cpp
@@ -309,6 +309,11 @@ void TreeSocket::WriteLine(const std::string& original_line)
push.append(line, 26, std::string::npos);
push.swap(line);
}
+ else if (command == "TAGMSG")
+ {
+ // Drop IRCv3 tag messages as v2 has no message tag support.
+ return;
+ }
}
WriteLineNoCompat(line);
return;