From 87fabe626628a4132a309880dc2051f0c730720a Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 28 Aug 2006 16:02:39 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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)))) -- cgit v1.2.3