From 346aca1799c661d570d351bb6c5a4e3be6d8111e Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 28 Jun 2008 21:08:04 +0200 Subject: [PATCH] Make m_trace.c compile here (with gcc 4.2.1). --- modules/m_trace.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/m_trace.c b/modules/m_trace.c index 2f6e6c5..2b9f70b 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: