X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_regex.h;h=c8cbc10b69c6c3db1a36df45a8dc186200a881ec;hb=7107ec12d8640d35cfe3d5002db1bc1deb33625d;hp=85f52c4d877416d35fc04fb5d99e6d435217a75e;hpb=43847ec9c7e1a195163eb4c529f1c92fd1ace0a4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_regex.h b/src/modules/m_regex.h index 85f52c4d8..c8cbc10b6 100644 --- a/src/modules/m_regex.h +++ b/src/modules/m_regex.h @@ -3,7 +3,7 @@ * +------------------------------------+ * * InspIRCd: (C) 2002-2009 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -20,10 +20,9 @@ class Regex : public classbase { protected: std::string regex_string; // The raw uncompiled regex string. - InspIRCd* ServerInstance; // Constructor may as well be protected, as this class is abstract. - Regex(const std::string& rx, InspIRCd* Me) : regex_string(rx), ServerInstance(Me) + Regex(const std::string& rx) : regex_string(rx) { } @@ -45,7 +44,7 @@ class RegexFactoryRequest : public Request { private: std::string regex; - + public: Regex* result;