ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.0.x/src/client.c
(Generate patch)

Comparing ircd-hybrid/branches/8.0.x/src/client.c (file contents):
Revision 1783 by michael, Thu Jan 24 17:26:55 2013 UTC vs.
Revision 1784 by michael, Sat Jan 26 22:40:14 2013 UTC

# Line 1213 | Line 1213 | idle_time_get(struct Client *source_p, s
1213    unsigned int max_idle = 0;
1214    const struct ClassItem *class = get_client_class_ptr(target_p);
1215  
1216 <  if (target_p == source_p)
1216 >  if (!(class->flags & CONF_FLAGS_FAKE_IDLE) || target_p == source_p)
1217      return CurrentTime - target_p->localClient->last_privmsg;
1218    if (HasUMode(source_p, UMODE_OPER) &&
1219 <      (!(class->flags & CONF_FLAGS_HIDE_IDLE_FROM_OPERS)))
1219 >      !(class->flags & CONF_FLAGS_HIDE_IDLE_FROM_OPERS))
1220      return CurrentTime - target_p->localClient->last_privmsg;
1221  
1222    min_idle = class->min_idle;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines