]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Check for muppet 3rdparty apps that might not order the list correctly
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 28 Aug 2006 16:02:39 +0000 (16:02 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 28 Aug 2006 16:02:39 +0000 (16:02 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5048 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 6bdb78c6f5d0c868c6695e5b1018a571c9cf68e3..b1381708596e7f3ea28ebd5b974bc81e0b431150 100644 (file)
@@ -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))))