From e357c3048e7a01ed8bd12f9592a96b618e089964 Mon Sep 17 00:00:00 2001 From: brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> Date: Tue, 29 Aug 2006 19:38:46 +0000 Subject: The rest of snomask +x (i think) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5068 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 0a1150aa8..93251b9e4 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -578,35 +578,35 @@ void XLineManager::expire_lines() while ((glines.size()) && (current > (glines.begin()->duration + glines.begin()->set_time))) { std::vector<GLine>::iterator i = glines.begin(); - ServerInstance->WriteOpers("*** Expiring timed G-Line %s (set by %s %d seconds ago)",i->hostmask,i->source,i->duration); + ServerInstance->SNO->WriteToSnoMask('x',"Expiring timed G-Line %s (set by %s %d seconds ago)",i->hostmask,i->source,i->duration); glines.erase(i); } while ((elines.size()) && (current > (elines.begin()->duration + elines.begin()->set_time))) { std::vector<ELine>::iterator i = elines.begin(); - ServerInstance->WriteOpers("*** Expiring timed E-Line %s (set by %s %d seconds ago)",i->hostmask,i->source,i->duration); + ServerInstance->SNO->WriteToSnoMask('x',"Expiring timed E-Line %s (set by %s %d seconds ago)",i->hostmask,i->source,i->duration); elines.erase(i); } while ((zlines.size()) && (current > (zlines.begin()->duration + zlines.begin()->set_time))) { std::vector<ZLine>::iterator i = zlines.begin(); - ServerInstance->WriteOpers("*** Expiring timed Z-Line %s (set by %s %d seconds ago)",i->ipaddr,i->source,i->duration); + ServerInstance->SNO->WriteToSnoMask('x',"Expiring timed Z-Line %s (set by %s %d seconds ago)",i->ipaddr,i->source,i->duration); zlines.erase(i); } while ((klines.size()) && (current > (klines.begin()->duration + klines.begin()->set_time))) { std::vector<KLine>::iterator i = klines.begin(); - ServerInstance->WriteOpers("*** Expiring timed K-Line %s (set by %s %d seconds ago)",i->hostmask,i->source,i->duration); + ServerInstance->SNO->WriteToSnoMask('x',"Expiring timed K-Line %s (set by %s %d seconds ago)",i->hostmask,i->source,i->duration); klines.erase(i); } while ((qlines.size()) && (current > (qlines.begin()->duration + qlines.begin()->set_time))) { std::vector<QLine>::iterator i = qlines.begin(); - ServerInstance->WriteOpers("*** Expiring timed Q-Line %s (set by %s %d seconds ago)",i->nick,i->source,i->duration); + ServerInstance->SNO->WriteToSnoMask('x',"Expiring timed Q-Line %s (set by %s %d seconds ago)",i->nick,i->source,i->duration); qlines.erase(i); } -- cgit v1.2.3