X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_regex_glob.cpp;h=97d36c4b9083fb5841826df38f9dd2df56380149;hb=819147178db00008a215670992d0f532dd57f9e5;hp=2f7174f0dd7cb3b53bdbd3a7e7e0f95f710c4659;hpb=4a455cfeea2decf9e979405f52c085593d50c18a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp index 2f7174f0d..97d36c4b9 100644 --- a/src/modules/m_regex_glob.cpp +++ b/src/modules/m_regex_glob.cpp @@ -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); } }; @@ -46,7 +46,7 @@ public: virtual Version GetVersion() { - return Version("$Id: m_regex_glob.cpp 10291 2008-08-25 20:35:51Z w00t $", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION); + return Version("$Id$", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION); } virtual ~ModuleRegexGlob()