summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c8dd68d)
Log message:
forward-ports could become a full-time job if we're not careful...
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@437
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
2001-04-23 Kevin L. Mitchell <klmitch@mit.edu>
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...
* 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[])
{
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");
sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :%s", sptr,
"/LINKS has been disabled, from CFV-165. "
"Visit http://www.undernet.org/servers.php");