Reindent.
This commit is contained in:
parent
abee738b7d
commit
851119864a
1 changed files with 15 additions and 17 deletions
|
@ -378,24 +378,22 @@ report_this_status(struct Client *source_p, struct Client *target_p)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STAT_CLIENT:
|
case STAT_CLIENT:
|
||||||
{
|
if(IsOper(target_p))
|
||||||
if(IsOper(target_p))
|
sendto_one_numeric(source_p, RPL_TRACEOPERATOR,
|
||||||
sendto_one_numeric(source_p, RPL_TRACEOPERATOR,
|
form_str(RPL_TRACEOPERATOR),
|
||||||
form_str(RPL_TRACEOPERATOR),
|
class_name, name,
|
||||||
class_name, name,
|
show_ip(source_p, target_p) ? ip : "255.255.255.255",
|
||||||
show_ip(source_p, target_p) ? ip : "255.255.255.255",
|
rb_current_time() - target_p->localClient->lasttime,
|
||||||
rb_current_time() - target_p->localClient->lasttime,
|
rb_current_time() - target_p->localClient->last);
|
||||||
rb_current_time() - target_p->localClient->last);
|
|
||||||
|
|
||||||
else
|
else
|
||||||
sendto_one_numeric(source_p, RPL_TRACEUSER,
|
sendto_one_numeric(source_p, RPL_TRACEUSER,
|
||||||
form_str(RPL_TRACEUSER),
|
form_str(RPL_TRACEUSER),
|
||||||
class_name, name,
|
class_name, name,
|
||||||
show_ip(source_p, target_p) ? ip : "255.255.255.255",
|
show_ip(source_p, target_p) ? ip : "255.255.255.255",
|
||||||
rb_current_time() - target_p->localClient->lasttime,
|
rb_current_time() - target_p->localClient->lasttime,
|
||||||
rb_current_time() - target_p->localClient->last);
|
rb_current_time() - target_p->localClient->last);
|
||||||
cnt++;
|
cnt++;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STAT_SERVER:
|
case STAT_SERVER:
|
||||||
|
|
Loading…
Reference in a new issue