From d01372ab64ac1844175c8858aee2a04f02f0aba9 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 28 Oct 2007 21:17:11 +0000 Subject: Grr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8413 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/xline.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index 115ab0da6..0c93faf39 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -167,7 +167,7 @@ bool XLineManager::AddGLine(long duration, const char* source,const char* reason if (DelGLine(hostmask, true)) return false; - GLine* item = new GLine(ServerInstance->Time(), duration, source, reason, ih.first.c_str(), ih.second.c_str()); + GLine* item = new GLine(ServerInstance, ServerInstance->Time(), duration, source, reason, ih.first.c_str(), ih.second.c_str()); glines.push_back(item); sort(glines.begin(), glines.end(),XLineManager::XSortComparison); @@ -185,7 +185,7 @@ bool XLineManager::AddELine(long duration, const char* source, const char* reaso if (DelELine(hostmask, true)) return false; - ELine* item = new ELine(ServerInstance->Time(), duration, source, reason, ih.first.c_str(), ih.second.c_str()); + ELine* item = new ELine(ServerInstance, ServerInstance->Time(), duration, source, reason, ih.first.c_str(), ih.second.c_str()); elines.push_back(item); sort(elines.begin(), elines.end(),XLineManager::XSortComparison); @@ -201,7 +201,7 @@ bool XLineManager::AddQLine(long duration, const char* source, const char* reaso if (DelQLine(nickname, true)) return false; - QLine* item = new QLine(ServerInstance->Time(), duration, source, reason, nickname); + QLine* item = new QLine(ServerInstance, ServerInstance->Time(), duration, source, reason, nickname); qlines.push_back(item); sort(qlines.begin(), qlines.end(),XLineManager::XSortComparison); @@ -224,7 +224,7 @@ bool XLineManager::AddZLine(long duration, const char* source, const char* reaso if (DelZLine(ipaddr, true)) return false; - ZLine* item = new ZLine(ServerInstance->Time(), duration, source, reason, ipaddr); + ZLine* item = new ZLine(ServerInstance, ServerInstance->Time(), duration, source, reason, ipaddr); zlines.push_back(item); sort(zlines.begin(), zlines.end(),XLineManager::XSortComparison); @@ -242,7 +242,7 @@ bool XLineManager::AddKLine(long duration, const char* source, const char* reaso if (DelKLine(hostmask, true)) return false; - KLine* item = new KLine(ServerInstance->Time(), duration, source, reason, ih.first.c_str(), ih.second.c_str()); + KLine* item = new KLine(ServerInstance, ServerInstance->Time(), duration, source, reason, ih.first.c_str(), ih.second.c_str()); klines.push_back(item); sort(klines.begin(), klines.end(),XLineManager::XSortComparison); -- cgit v1.2.3