From ba8b12694b4e2ed6217210f3a48574dd102fff8d Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 Mar 2007 23:31:18 +0000 Subject: Make /stats P show 'secs' after idle times git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6667 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd_stats.cpp b/src/cmd_stats.cpp index 4032aa012..e2e94db4f 100644 --- a/src/cmd_stats.cpp +++ b/src/cmd_stats.cpp @@ -123,7 +123,7 @@ void DoStats(InspIRCd* ServerInstance, char statschar, userrec* user, string_lis if ((*i->second->oper) && (!ServerInstance->ULine(i->second->server))) { results.push_back(sn+" 249 "+user->nick+" :"+i->second->nick+" ("+i->second->ident+"@"+i->second->dhost+") Idle: "+ - (IS_LOCAL(i->second) ? ConvToStr(ServerInstance->Time() - i->second->idle_lastmsg) : "unavailable")); + (IS_LOCAL(i->second) ? ConvToStr(ServerInstance->Time() - i->second->idle_lastmsg) + " secs" : "unavailable")); idx++; } } -- cgit v1.2.3