summaryrefslogtreecommitdiff
path: root/src/cmd_stats.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-06 23:15:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-06 23:15:54 +0000
commit85bb016bd18c381561212d8815cfe46f47d3ed53 (patch)
tree39342718be6f3362e6f7fec08ec4455e64c0e187 /src/cmd_stats.cpp
parent26f84e25c4e54ed0596502eb83cc5815885b9f76 (diff)
Whoops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6240 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_stats.cpp')
-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 a853914d4..f6f68677c 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(user) ? ConvToStr(ServerInstance->Time() - i->second->idle_lastmsg) : "unavailable"));
+ (IS_LOCAL(i->second) ? ConvToStr(ServerInstance->Time() - i->second->idle_lastmsg) : "unavailable"));
idx++;
}
}