summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2019-02-17 02:20:56 -0700
committerPeter Powell <petpow@saberuk.com>2019-02-18 09:17:38 +0000
commitff7bebe90c6b348b0df28864e4954d04bd17256b (patch)
tree5c7f07c40ee38c0aa88688e97ba3e74023bad700 /src/modules
parente02c22ff165c7b0dbe39343066a4167e94f5618e (diff)
X-line expiries: use the new DurationString() function.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_svshold.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp
index daffdf7d9..dbf621932 100644
--- a/src/modules/m_svshold.cpp
+++ b/src/modules/m_svshold.cpp
@@ -58,8 +58,8 @@ public:
{
if (!silent)
{
- ServerInstance->SNO->WriteToSnoMask('x', "Removing expired SVSHOLD %s (set by %s %ld seconds ago): %s",
- nickname.c_str(), source.c_str(), (long)(ServerInstance->Time() - set_time), reason.c_str());
+ ServerInstance->SNO->WriteToSnoMask('x', "Removing expired SVSHOLD %s (set by %s %s ago): %s",
+ nickname.c_str(), source.c_str(), InspIRCd::DurationString(ServerInstance->Time() - set_time).c_str(), reason.c_str());
}
}