From fd820825ac669c9cd8cc8b7a69ca855159b0d3cb Mon Sep 17 00:00:00 2001 From: dz Date: Wed, 28 Jan 2009 02:42:29 +0000 Subject: Make xline expiry messages a bit clearer that the xline may have expired a while ago, and give the correct time since they were set instead of the duration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11011 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_rline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_rline.cpp') diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index f6047704e..27ca31f48 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -73,7 +73,7 @@ class RLine : public XLine void DisplayExpiry() { - ServerInstance->SNO->WriteToSnoMask('x',"Expiring timed R-Line %s (set by %s %ld seconds ago)", this->matchtext.c_str(), this->source, this->duration); + ServerInstance->SNO->WriteToSnoMask('x',"Removing expired R-Line %s (set by %s %ld seconds ago)", this->matchtext.c_str(), this->source, ServerInstance->Time() - this->set_time); } const char* Displayable() -- cgit v1.2.3