Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_links.c
index cea4270c6af71d04fdccc3ff7b7b3383f274be07..38d5abddcaadbc6ebb898e050a1c89bd3aced9f3 100644 (file)
@@ -89,6 +89,7 @@
 #endif /* 0 */
 #include "client.h"
 #include "ircd.h"
+#include "ircd_policy.h"
 #include "ircd_reply.h"
 #include "ircd_string.h"
 #include "match.h"
@@ -143,6 +144,17 @@ int m_links(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   return 0;
 }
 
+#ifdef HEAD_IN_SAND_LINKS
+int m_links_redirect(struct Client* cptr, struct Client* sptr, int parc,
+                    char* parv[])
+{
+  sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :%s", sptr,
+               "/LINKS has been disabled, from CFV-165.  "
+               "Visit http://www.undernet.org/servers.php");
+  return 0;
+}
+#endif
+
 /*
  * ms_links - server message handler
  *