summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/compat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp
index 2df0c91e9..4cb86a4de 100644
--- a/src/modules/m_spanningtree/compat.cpp
+++ b/src/modules/m_spanningtree/compat.cpp
@@ -167,7 +167,7 @@ void TreeSocket::WriteLine(std::string line)
}
Command* thiscmd = ServerInstance->Parser->GetHandler(subcmd);
- if (thiscmd)
+ if (thiscmd && subcmd != "WHOISNOTICE")
{
Version ver = thiscmd->creator->GetVersion();
if (ver.Flags & VF_OPTCOMMON)