From: brain Date: Mon, 28 Aug 2006 16:02:39 +0000 (+0000) Subject: Check for muppet 3rdparty apps that might not order the list correctly X-Git-Tag: v2.0.23~7290 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=87fabe626628a4132a309880dc2051f0c730720a;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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))))