diff options
author | dz <dz@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-01-28 02:42:29 +0000 |
---|---|---|
committer | dz <dz@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-01-28 02:42:29 +0000 |
commit | fd820825ac669c9cd8cc8b7a69ca855159b0d3cb (patch) | |
tree | b9258d0d282f52cde85e59f8aab21edde8732b5d /src/modules/m_shun.cpp | |
parent | dff3873d1bc380633fe998d70d87edd6a0d8f09b (diff) |
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
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r-- | src/modules/m_shun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 55b7e94f9..25ddfcb58 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -54,7 +54,7 @@ public: void DisplayExpiry() { - ServerInstance->SNO->WriteToSnoMask('x',"Expiring timed shun %s (set by %s %ld seconds ago)", this->matchtext.c_str(), this->source, this->duration); + ServerInstance->SNO->WriteToSnoMask('x',"Removing expired shun %s (set by %s %ld seconds ago)", this->matchtext.c_str(), this->source, ServerInstance->Time() - this->set_time); } const char* Displayable() |