From c45fe6715d51a0b6565fee1321c45645883fa749 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 31 Oct 2007 19:51:03 +0000 Subject: Fix up to pass User* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8442 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index 4c41cf247..8311ad58e 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1926,7 +1926,7 @@ bool DoZLine(ServerConfig* conf, const char* tag, char** entries, ValueList &val const char* ipmask = values[1].GetString(); ZLine* zl = new ZLine(conf->GetInstance(), conf->GetInstance()->Time(), 0, "", reason, ipmask); - if (!conf->GetInstance()->XLines->AddLine(zl)) + if (!conf->GetInstance()->XLines->AddLine(zl, NULL)) delete zl; return true; @@ -1938,7 +1938,7 @@ bool DoQLine(ServerConfig* conf, const char* tag, char** entries, ValueList &val const char* nick = values[1].GetString(); QLine* ql = new QLine(conf->GetInstance(), conf->GetInstance()->Time(), 0, "", reason, nick); - if (!conf->GetInstance()->XLines->AddLine(ql)) + if (!conf->GetInstance()->XLines->AddLine(ql, NULL)) delete ql; return true; @@ -1954,7 +1954,7 @@ bool DoKLine(ServerConfig* conf, const char* tag, char** entries, ValueList &val IdentHostPair ih = xlm->IdentSplit(host); KLine* kl = new KLine(conf->GetInstance(), conf->GetInstance()->Time(), 0, "", reason, ih.first.c_str(), ih.second.c_str()); - if (!xlm->AddLine(kl)) + if (!xlm->AddLine(kl, NULL)) delete kl; return true; } @@ -1969,7 +1969,7 @@ bool DoELine(ServerConfig* conf, const char* tag, char** entries, ValueList &val IdentHostPair ih = xlm->IdentSplit(host); ELine* el = new ELine(conf->GetInstance(), conf->GetInstance()->Time(), 0, "", reason, ih.first.c_str(), ih.second.c_str()); - if (!xlm->AddLine(el)) + if (!xlm->AddLine(el, NULL)) delete el; return true; } -- cgit v1.3.1-10-gc9f91