summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-28 21:17:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-28 21:17:11 +0000
commitd01372ab64ac1844175c8858aee2a04f02f0aba9 (patch)
tree9ef5bb1c1c6f10366dd228a56b697069c450220e /src/xline.cpp
parent774747d8acc5d04d60c966eff91e1a9b81f2526b (diff)
Grr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8413 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp10
1 files changed, 5 insertions, 5 deletions
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);