Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_lusers.c
index 02da8d7b6d1632441b11980c87273f6c6c32b3f8..07c562b4439856ed23fc4b570ce741ee1090c5d0 100644 (file)
@@ -83,7 +83,7 @@
 
 #include "client.h"
 #include "ircd.h"
-#include "ircd_policy.h"
+#include "ircd_features.h"
 #include "ircd_reply.h"
 #include "ircd_string.h"
 #include "msg.h"
@@ -107,8 +107,8 @@ int m_lusers(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
   int longoutput = MyUser(sptr) || IsOper(sptr);
   if (parc > 2)
-    if (hunt_server_cmd(sptr, CMD_LUSERS, cptr, HEAD_IN_SAND_REMOTE, "%s :%C",
-                       2, parc, parv) != HUNTED_ISME)
+    if (hunt_server_cmd(sptr, CMD_LUSERS, cptr, feature_int(FEAT_HIS_REMOTE),
+                        "%s :%C", 2, parc, parv) != HUNTED_ISME)
       return 0;
 
   send_reply(sptr, RPL_LUSERCLIENT, UserStats.clients - UserStats.inv_clients,