]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_regex_glob.cpp
Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]
[user/henk/code/inspircd.git] / src / modules / m_regex_glob.cpp
index 8990995cf7fd91da8f01fee87d30a33574410967..97d36c4b9083fb5841826df38f9dd2df56380149 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *          the file COPYING for details.
@@ -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);
        }
 };