X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_regex_glob.cpp;h=d72d49896638a20026f358eca8ccc7b7562fece3;hb=39897f56f5f84d8d4c8903fb46a03c2fdcf733ec;hp=8990995cf7fd91da8f01fee87d30a33574410967;hpb=86ac9c800fbb4371b45d3cf599ee9d8d07a1e4ab;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp index 8990995cf..d72d49896 100644 --- a/src/modules/m_regex_glob.cpp +++ b/src/modules/m_regex_glob.cpp @@ -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); } };