X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/a4da8e48cd48863e1a88d3b797b3070c073eeed1..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_trace.c?ds=inline diff --git a/modules/m_trace.c b/modules/m_trace.c index 2f6e6c5b..2b9f70be 100644 --- a/modules/m_trace.c +++ b/modules/m_trace.c @@ -380,18 +380,18 @@ report_this_status(struct Client *source_p, struct Client *target_p) 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: