]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_trace.c
Pretty symlink logic for help files
[irc/rqf/shadowircd.git] / modules / m_trace.c
index 1ae65dd94b3e5b2af32eed206a093cb8b8126f8c..a7bede442190d632f804f76ccf06e87b825b9a70 100644 (file)
@@ -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: