Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_trace.c
index d35a2705d1681d71c6378f56ce0a0579a6643422..f4d8464acc9ec9bba466b04b0701549f2fd0107d 100644 (file)
  *            note:   it is guaranteed that parv[0]..parv[parc-1] are all
  *                    non-NULL pointers.
  */
-#if 0
-/*
- * No need to include handlers.h here the signatures must match
- * and we don't need to force a rebuild of all the handlers everytime
- * we add a new one to the list. --Bleep
- */
-#include "handlers.h"
-#endif /* 0 */
+#include "config.h"
+
 #include "class.h"
 #include "client.h"
 #include "hash.h"
@@ -238,11 +232,11 @@ int m_trace(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
             !(dow && IsInvisible(acptr)))) || !dow || IsAnOper(acptr)) {
           if (IsAnOper(acptr))
            send_reply(sptr, RPL_TRACEOPERATOR, conClass,
-                      get_client_name(acptr, HIDE_IP),
+                      get_client_name(acptr, SHOW_IP),
                       CurrentTime - cli_lasttime(acptr));
           else
            send_reply(sptr, RPL_TRACEUSER, conClass,
-                      get_client_name(acptr, HIDE_IP),
+                      get_client_name(acptr, SHOW_IP),
                       CurrentTime - cli_lasttime(acptr));
           cnt++;
         }
@@ -438,11 +432,11 @@ int ms_trace(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
             !(dow && IsInvisible(acptr)))) || !dow || IsAnOper(acptr)) {
           if (IsAnOper(acptr))
            send_reply(sptr, RPL_TRACEOPERATOR, conClass,
-                      get_client_name(acptr, HIDE_IP),
+                      get_client_name(acptr, SHOW_IP),
                       CurrentTime - cli_lasttime(acptr));
           else
            send_reply(sptr, RPL_TRACEUSER, conClass,
-                      get_client_name(acptr, HIDE_IP),
+                      get_client_name(acptr, SHOW_IP),
                       CurrentTime - cli_lasttime(acptr));
           cnt++;
         }
@@ -637,11 +631,11 @@ int mo_trace(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
             !(dow && IsInvisible(acptr)))) || !dow || IsAnOper(acptr)) {
           if (IsAnOper(acptr))
            send_reply(sptr, RPL_TRACEOPERATOR, conClass,
-                      get_client_name(acptr, HIDE_IP),
+                      get_client_name(acptr, SHOW_IP),
                        CurrentTime - cli_lasttime(acptr));
           else
            send_reply(sptr, RPL_TRACEUSER, conClass,
-                      get_client_name(acptr, HIDE_IP),
+                      get_client_name(acptr, SHOW_IP),
                        CurrentTime - cli_lasttime(acptr));
           cnt++;
         }