/[svn]/ircd-hybrid/trunk/src/client.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/client.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1784 by michael, Thu Jan 24 19:26:51 2013 UTC revision 1785 by michael, Sat Jan 26 22:40:55 2013 UTC
# Line 1184  idle_time_get(const struct Client *sourc Line 1184  idle_time_get(const struct Client *sourc
1184    unsigned int max_idle = 0;    unsigned int max_idle = 0;
1185    struct ClassItem *class = get_class_ptr(&target_p->localClient->confs);    struct ClassItem *class = get_class_ptr(&target_p->localClient->confs);
1186    
1187    if (target_p == source_p)    if (!(class->flags & CLASS_FLAGS_FAKE_IDLE) || target_p == source_p)
1188      return CurrentTime - target_p->localClient->last_privmsg;      return CurrentTime - target_p->localClient->last_privmsg;
1189    if (HasUMode(source_p, UMODE_OPER) &&    if (HasUMode(source_p, UMODE_OPER) &&
1190        (!(class->flags & CLASS_FLAGS_HIDE_IDLE_FROM_OPERS)))        !(class->flags & CLASS_FLAGS_HIDE_IDLE_FROM_OPERS))
1191      return CurrentTime - target_p->localClient->last_privmsg;      return CurrentTime - target_p->localClient->last_privmsg;
1192    
1193    min_idle = class->min_idle;    min_idle = class->min_idle;

Legend:
Removed from v.1784  
changed lines
  Added in v.1785

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28