git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1431
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
* ircd/ircd_res.c (res_readreply): Check res_ourserver before walking
the pending request list, to make DoS attacks harder.
+ * ircd/m_invite.c (m_invite): Give no such channel rather than not on
+ channel when the channel being invited to does not exist.
+
2005-06-18 Michael Poole <mdpoole@troilus.org>
* ircd/s_debug.c (count_memory): Consolidate several lines; make
return 0;
if (!(chptr = FindChannel(parv[2]))) {
- send_reply(sptr, ERR_NOTONCHANNEL, parv[2]);
+ send_reply(sptr, ERR_NOSUCHCHANNEL, parv[2]);
return 0;
}