2001-04-23 Kevin L. Mitchell <klmitch@mit.edu>
+ * ircd/m_links.c (m_links_redirect): forward-port RPL_ENDOFLINKS
+ change to make Khaled happy...
+
* ircd/m_whois.c (do_whois): pull-up of m_whois() fix
(do_whois): duh...
int m_links_redirect(struct Client* cptr, struct Client* sptr, int parc,
char* parv[])
{
+
+ if (parc > 2)
+ return send_reply(cptr, ERR_NOPRIVILEGES);
+
+ send_reply(sptr, RPL_ENDOFLINKS, parc < 2 ? "*" : parv[1]);
sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :%s", sptr,
"/LINKS has been disabled, from CFV-165. "
"Visit http://www.undernet.org/servers.php");