Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_motd.c
index f75cadfbb8b7730489e09520682fe637c420bb9e..a3cb47daa14b91149a0d91be511e8f6aeb7da64f 100644 (file)
@@ -91,6 +91,7 @@
 #endif /* 0 */
 #include "client.h"
 #include "ircd.h"
+#include "ircd_policy.h"
 #include "ircd_reply.h"
 #include "ircd_string.h"
 #include "match.h"
  */
 int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
-  if (hunt_server_cmd(sptr, CMD_MOTD, cptr, 0, "%C", 1, parc, parv) !=
-      HUNTED_ISME)
+  if (hunt_server_cmd(sptr, CMD_MOTD, cptr, HEAD_IN_SAND_REMOTE, "%C", 1,
+                     parc, parv) != HUNTED_ISME)
     return 0;
 
   return motd_send(sptr);