summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-12 23:31:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-12 23:31:18 +0000
commitba8b12694b4e2ed6217210f3a48574dd102fff8d (patch)
tree49f4a1137bdd9b55eba039018890f7b9a826c64a /src
parentac715d5f1a532057b4ed3dc56f9c9d28aa61e46c (diff)
Make /stats P show 'secs' after idle times
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6667 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/cmd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
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++;
}
}