summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-15 20:31:35 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-15 20:31:35 +0000
commit57e51adaf1b1e30b06bebf5fe8fb13e937e96c5e (patch)
treedbc578c1e6df8683736891283326303e47fddecf /src/modules/m_spanningtree
parentf8ccaed31d68661d16eae1a412b337af09de111b (diff)
Route SVSSILENCE/SVSWATCH using OPT_UCAST, marking them OPTCOMMON
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12264 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/capab.cpp2
-rw-r--r--src/modules/m_spanningtree/compat.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp
index e5d63ab22..7ebee4bda 100644
--- a/src/modules/m_spanningtree/capab.cpp
+++ b/src/modules/m_spanningtree/capab.cpp
@@ -61,6 +61,8 @@ static std::string BuildModeList(ModeType type)
line.push_back(',');
line.append(mh->name);
line.push_back('=');
+ if (mh->GetPrefix())
+ line.push_back(mh->GetPrefix());
line.push_back(c);
}
}
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp
index fe262134f..a11db8215 100644
--- a/src/modules/m_spanningtree/compat.cpp
+++ b/src/modules/m_spanningtree/compat.cpp
@@ -62,9 +62,11 @@ static const char* const forge_common_1201[] = {
"m_saquit.so",
"m_servprotect.so",
"m_setident.so",
+ "m_silence.so",
"m_sslmodes.so",
"m_stripcolor.so",
"m_swhois.so",
+ "m_watch.so"
};
static std::string wide_newline("\r\n");