]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_regex.h
DLLFactory--
[user/henk/code/inspircd.git] / src / modules / m_regex.h
index b10a5115b8cab3b6f7ee14a541b09167239b4b3a..969c4920bc1e328ed29b21b5e71f3b972154a7fc 100644 (file)
@@ -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)
        {
        }
 
@@ -68,8 +67,10 @@ public:
 class RegexNameRequest : public Request
 {
 public:
+       std::string result;
        RegexNameRequest(Module* Me, Module* Target) : Request(Me, Target, "REGEX-NAME")
        {
+               Send(); 
        }
 };