summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-17 15:15:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-17 15:15:18 +0000
commitda1ef778475721f5cbcc73417fa730621d53af5b (patch)
tree0a2b0903b257fffc84e245d0fa435b7268832021
parentb5b08d707388a49126de80d1c73ca40bf6edbe6f (diff)
Hide ulines from /stats P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5271 e03df62e-2008-0410-955e-edbf42e46eb7
-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 0e2935e5d..614511bf9 100644
--- a/src/cmd_stats.cpp
+++ b/src/cmd_stats.cpp
@@ -94,7 +94,7 @@ void DoStats(InspIRCd* ServerInstance, char statschar, userrec* user, string_lis
int idx = 0;
for (user_hash::iterator i = ServerInstance->clientlist.begin(); i != ServerInstance->clientlist.end(); i++)
{
- if (*i->second->oper)
+ 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: "+ConvToStr(ServerInstance->Time() - i->second->idle_lastmsg));
idx++;