]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_rline.cpp
Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO
[user/henk/code/inspircd.git] / src / modules / m_rline.cpp
index 8bad04f292352142781111969e85b3b2abff5b16..a1a57199a328fc87a3792c6e133623f2cfbe8c41 100644 (file)
@@ -75,7 +75,7 @@ class RLine : public XLine
        void Apply(User* u)
        {
                if (ZlineOnMatch) {
-                       background_zlines.push_back(new ZLine(ServerInstance->Time(), duration ? expiry - ServerInstance->Time() : 0, ServerInstance->Config->ServerName, reason.c_str(), u->GetIPString()));
+                       background_zlines.push_back(new ZLine(ServerInstance->Time(), duration ? expiry - ServerInstance->Time() : 0, ServerInstance->Config->ServerName.c_str(), reason.c_str(), u->GetIPString()));
                }
                DefaultApply(u, "R", false);
        }
@@ -268,7 +268,7 @@ class ModuleRLine : public Module
                {
                        for (modulelist::iterator i = ml->begin(); i != ml->end(); ++i)
                        {
-                               if (RegexNameRequest(this, *i).Send() == newrxengine)
+                               if (RegexNameRequest(this, *i).result == newrxengine)
                                {
                                        ServerInstance->SNO->WriteToSnoMask('a', "R-Line now using engine '%s'", RegexEngine.c_str());
                                        rxengine = *i;
@@ -294,7 +294,7 @@ class ModuleRLine : public Module
        {
                if (ServerInstance->Modules->ModuleHasInterface(mod, "RegularExpression"))
                {
-                       std::string rxname = RegexNameRequest(this, mod).Send();
+                       std::string rxname = RegexNameRequest(this, mod).result;
                        if (rxname == RegexEngine)
                        {
                                ServerInstance->SNO->WriteToSnoMask('a', "R-Line now using engine '%s'", RegexEngine.c_str());