/*
* m_trace
- * parv[0] = sender prefix
* parv[1] = servername
*/
static int
break;
case STAT_CLIENT:
- int tnumeric = RPL_TRACEUSER;
-
- if(IsOper(target_p))
- tnumeric = RPL_TRACEOPERATOR;
-
- sendto_one_numeric(source_p, tnumeric, form_str(tnumeric),
- class_name, name,
- show_ip(source_p, target_p) ? ip : empty_sockhost,
- rb_current_time() - target_p->localClient->lasttime,
- rb_current_time() - target_p->localClient->last);
+ {
+ int tnumeric;
- cnt++;
+ tnumeric = IsOper(target_p) ? RPL_TRACEOPERATOR : RPL_TRACEUSER;
+ sendto_one_numeric(source_p, tnumeric, form_str(tnumeric),
+ class_name, name,
+ show_ip(source_p, target_p) ? ip : empty_sockhost,
+ rb_current_time() - target_p->localClient->lasttime,
+ rb_current_time() - target_p->localClient->last);
+
+ cnt++;
+ }
break;
case STAT_SERVER: