1184 |
|
unsigned int max_idle = 0; |
1185 |
|
struct ClassItem *class = get_class_ptr(&target_p->localClient->confs); |
1186 |
|
|
1187 |
< |
if (target_p == source_p) |
1187 |
> |
if (!(class->flags & CLASS_FLAGS_FAKE_IDLE) || target_p == source_p) |
1188 |
|
return CurrentTime - target_p->localClient->last_privmsg; |
1189 |
|
if (HasUMode(source_p, UMODE_OPER) && |
1190 |
< |
(!(class->flags & CLASS_FLAGS_HIDE_IDLE_FROM_OPERS))) |
1190 |
> |
!(class->flags & CLASS_FLAGS_HIDE_IDLE_FROM_OPERS)) |
1191 |
|
return CurrentTime - target_p->localClient->last_privmsg; |
1192 |
|
|
1193 |
|
min_idle = class->min_idle; |