]> jfr.im git - solanum.git/blobdiff - modules/m_trace.c
m_info: Correct description of general::client_exit like in example confs.
[solanum.git] / modules / m_trace.c
index 4d273688cc5680334fe36078907e8a6dd2853802..c3a3891c987e1863251ab6b260a4e03910ae3404 100644 (file)
@@ -380,10 +380,9 @@ report_this_status(struct Client *source_p, struct Client *target_p)
 
        case STAT_CLIENT:
                {
-                       int tnumeric;
-
-                       tnumeric = IsOper(target_p) ? RPL_TRACEOPERATOR : RPL_TRACEUSER;
-                       sendto_one_numeric(source_p, tnumeric, form_str(tnumeric),
+                       sendto_one_numeric(source_p,
+                                       IsOper(target_p) ? RPL_TRACEOPERATOR : RPL_TRACEUSER,
+                                       IsOper(target_p) ? form_str(RPL_TRACEOPERATOR) : form_str(RPL_TRACEUSER),
                                        class_name, name,
                                        show_ip(source_p, target_p) ? ip : empty_sockhost,
                                        (unsigned long)(rb_current_time() - target_p->localClient->lasttime),