aboutsummaryrefslogtreecommitdiff
path: root/modules/setidle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setidle.cpp')
-rw-r--r--modules/setidle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setidle.cpp b/modules/setidle.cpp
index eab34d76c..d0ef8f418 100644
--- a/modules/setidle.cpp
+++ b/modules/setidle.cpp
@@ -61,7 +61,7 @@ public:
if (user->signon > user->idle_lastmsg)
user->signon = user->idle_lastmsg;
- ServerInstance->SNO.WriteToSnoMask('a', "{} used SETIDLE to set their idle time to {} seconds", user->nick, idle);
+ ServerInstance->SNO.WriteToSnoMask('a', "{} used SETIDLE to set their idle time to {}", user->nick, Duration::ToHuman(idle));
noterpl.SendIfCap(user, stdrplcap, this, "IDLE_TIME_SET", user->idle_lastmsg, "Idle time set.");
return CmdResult::SUCCESS;
}