From 851119864a0aaa4b6b957c97fbad98666519d081 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 3 Jun 2008 20:52:47 +0200 Subject: [PATCH] Reindent. --- modules/m_trace.c | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/modules/m_trace.c b/modules/m_trace.c index 1ae65dd9..a7bede44 100644 --- a/modules/m_trace.c +++ b/modules/m_trace.c @@ -378,24 +378,22 @@ report_this_status(struct Client *source_p, struct Client *target_p) break; case STAT_CLIENT: - { - if(IsOper(target_p)) - sendto_one_numeric(source_p, RPL_TRACEOPERATOR, - form_str(RPL_TRACEOPERATOR), - class_name, name, - show_ip(source_p, target_p) ? ip : "255.255.255.255", - rb_current_time() - target_p->localClient->lasttime, - rb_current_time() - target_p->localClient->last); + if(IsOper(target_p)) + sendto_one_numeric(source_p, RPL_TRACEOPERATOR, + form_str(RPL_TRACEOPERATOR), + class_name, name, + show_ip(source_p, target_p) ? ip : "255.255.255.255", + rb_current_time() - target_p->localClient->lasttime, + rb_current_time() - target_p->localClient->last); - else - sendto_one_numeric(source_p, RPL_TRACEUSER, - form_str(RPL_TRACEUSER), - class_name, name, - show_ip(source_p, target_p) ? ip : "255.255.255.255", - rb_current_time() - target_p->localClient->lasttime, - rb_current_time() - target_p->localClient->last); - cnt++; - } + else + sendto_one_numeric(source_p, RPL_TRACEUSER, + form_str(RPL_TRACEUSER), + class_name, name, + show_ip(source_p, target_p) ? ip : "255.255.255.255", + rb_current_time() - target_p->localClient->lasttime, + rb_current_time() - target_p->localClient->last); + cnt++; break; case STAT_SERVER: