ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/modules/m_stats.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_stats.c (file contents):
Revision 1761 by michael, Fri Jan 18 19:21:39 2013 UTC vs.
Revision 1783 by michael, Thu Jan 24 19:26:51 2013 UTC

# Line 920 | Line 920 | stats_operedup(struct Client *source_p,
920        continue;
921  
922      if (MyClient(source_p) && HasUMode(source_p, UMODE_OPER))
923 <      sendto_one(source_p, ":%s %d %s p :[%c][%s] %s (%s@%s) Idle: %d",
923 >      sendto_one(source_p, ":%s %d %s p :[%c][%s] %s (%s@%s) Idle: %u",
924                   from, RPL_STATSDEBUG, to,
925                   HasUMode(target_p, UMODE_ADMIN) ? 'A' : 'O',
926                   oper_privs_as_string(target_p->localClient->operflags),
927                   target_p->name, target_p->username, target_p->host,
928 <                 (int)(CurrentTime - target_p->localClient->last_privmsg));
928 >                 idle_time_get(source_p, target_p));
929      else
930 <      sendto_one(source_p, ":%s %d %s p :[%c] %s (%s@%s) Idle: %d",
930 >      sendto_one(source_p, ":%s %d %s p :[%c] %s (%s@%s) Idle: %u",
931                   from, RPL_STATSDEBUG, to,
932                   HasUMode(target_p, UMODE_ADMIN) ? 'A' : 'O',
933                   target_p->name, target_p->username, target_p->host,
934 <                 (int)(CurrentTime - target_p->localClient->last_privmsg));
934 >                 idle_time_get(source_p, target_p));
935    }
936  
937    sendto_one(source_p, ":%s %d %s p :%u OPER(s)",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines