summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-28 16:02:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-28 16:02:39 +0000
commit87fabe626628a4132a309880dc2051f0c730720a (patch)
treed2c786a82a24f2f9426f09d1438c01449e13f7b2
parent57242b0aadb0ffde6a7eaa91875dbd142304d3b0 (diff)
Check for muppet 3rdparty apps that might not order the list correctly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5048 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 6bdb78c6f..b13817085 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -927,7 +927,10 @@ class TreeSocket : public InspSocket
{
diff = "this server:" + diff;
}
- reason = "Modules loaded on these servers are not correctly matched, these modules are not loaded on " + diff;
+ if (diff.length() == 12)
+ reason = "Module list in CAPAB is not alphabetically ordered, cannot compare lists.";
+ else
+ reason = "Modules loaded on these servers are not correctly matched, these modules are not loaded on " + diff;
}
if (((this->CapKeys.find("IP6SUPPORT") == this->CapKeys.end()) && (ip6support)) || ((this->CapKeys.find("IP6SUPPORT") != this->CapKeys.end()) && (this->CapKeys.find("IP6SUPPORT")->second != ConvToStr(ip6support))))