822 |
|
} |
823 |
|
} |
824 |
|
else if (IsClient(source_p) && !HasFlag(source_p, FLAGS_KILLED)) |
825 |
< |
sendto_server(source_p->from, 0, 0, ":%s QUIT :%s", |
826 |
< |
source_p->id, comment); |
825 |
> |
sendto_server(source_p->from, 0, 0, ":%s QUIT :%s", source_p->id, comment); |
826 |
|
|
827 |
|
/* The client *better* be off all of the lists */ |
828 |
|
assert(dlinkFind(&unknown_list, source_p) == NULL); |
1062 |
|
else |
1063 |
|
idle = CurrentTime - target_p->connection->last_privmsg; |
1064 |
|
|
1065 |
< |
if (!max_idle) |
1067 |
< |
idle = 0; |
1068 |
< |
else |
1065 |
> |
if (max_idle) |
1066 |
|
idle %= max_idle; |
1067 |
+ |
else |
1068 |
+ |
idle = 0; |
1069 |
|
|
1070 |
|
if (idle < min_idle) |
1071 |
|
idle = min_idle + (idle % (max_idle - min_idle)); |