From 6c79fc1a65bd0ca65197495146a513a6d9d5f93c Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 4 Nov 2006 17:03:36 +0000 Subject: Show ident when expiring g and k lines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5645 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/xline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/xline.cpp b/src/xline.cpp index 84c465927..ce80f7880 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -599,14 +599,14 @@ void XLineManager::expire_lines() while ((glines.size()) && (current > (*glines.begin())->expiry)) { std::vector::iterator i = glines.begin(); - ServerInstance->SNO->WriteToSnoMask('x',"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@%s (set by %s %d seconds ago)",(*i)->identmask,(*i)->hostmask,(*i)->source,(*i)->duration); glines.erase(i); } while ((elines.size()) && (current > (*elines.begin())->expiry)) { std::vector::iterator i = elines.begin(); - ServerInstance->SNO->WriteToSnoMask('x',"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@%s (set by %s %d seconds ago)",(*i)->identmask,(*i)->hostmask,(*i)->source,(*i)->duration); elines.erase(i); } @@ -620,7 +620,7 @@ void XLineManager::expire_lines() while ((klines.size()) && (current > (*klines.begin())->expiry)) { std::vector::iterator i = klines.begin(); - ServerInstance->SNO->WriteToSnoMask('x',"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@%s (set by %s %d seconds ago)",(*i)->identmask,(*i)->hostmask,(*i)->source,(*i)->duration); klines.erase(i); } -- cgit v1.2.3