]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_regex_glob.cpp
Note where to find the docs.
[user/henk/code/inspircd.git] / src / modules / m_regex_glob.cpp
index 8990995cf7fd91da8f01fee87d30a33574410967..d72d49896638a20026f358eca8ccc7b7562fece3 100644 (file)
@@ -30,7 +30,7 @@ public:
 
        virtual bool Matches(const std::string& text)
        {
-               return InspIRCd::Match(this->regex_string, text);
+               return InspIRCd::Match(text, this->regex_string);
        }
 };