added basic ssl support to ircu
[ircu2.10.12-pk.git] / ircd / m_motd.c
index b33cfd26c02139285fbc1b8308c331ceb92dede6..f431df1e5a906a5a0f8db635c7df343ac7cab7d6 100644 (file)
@@ -83,7 +83,8 @@
 
 #include "client.h"
 #include "ircd.h"
-#include "ircd_policy.h"
+#include "ircd_features.h"
+#include "ircd_log.h"
 #include "ircd_reply.h"
 #include "ircd_string.h"
 #include "match.h"
@@ -97,7 +98,7 @@
 #include "send.h"
 
 #include <stdlib.h>
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
 
 /*
  * m_motd - generic message handler
  */
 int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
-  if (hunt_server_cmd(sptr, CMD_MOTD, cptr, HEAD_IN_SAND_REMOTE, "%C", 1,
+  if (hunt_server_cmd(sptr, CMD_MOTD, cptr, feature_int(FEAT_HIS_REMOTE), "%C", 1,
                      parc, parv) != HUNTED_ISME)
     return 0;