]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treesocket.h
Change more modules to VF_OPTCOMMON and assert identical charsets in m_nationalchars
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treesocket.h
index 7bbaba0507be2d1115aba8ad01ae532945f35a49..bc51f3277839abb63e59f447cf99fece36408bb1 100644 (file)
@@ -194,11 +194,9 @@ class TreeSocket : public BufferedSocket
        /** Add modules to VF_COMMON list for backwards compatability */
        void CompatAddModules(std::vector<std::string>& modlist);
 
-       /* Check a comma seperated list for an item */
-       bool HasItem(const std::string &list, const std::string &item);
-
-       /* Isolate and return the elements that are different between two comma seperated lists */
-       std::string ListDifference(const std::string &one, const std::string &two);
+       /* Isolate and return the elements that are different between two lists */
+       void ListDifference(const std::string &one, const std::string &two, char sep,
+               std::string& mleft, std::string& mright);
 
        bool Capab(const parameterlist &params);