git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1269
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2004-11-20 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/m_create.c (ms_create): Complain if a user tries to CREATE
+ a channel they are already in, but do not add them again.
+
2004-11-09 Michael Poole <mdpoole@troilus.org>
* include/res.h (init_resolver): Delete, and initialize lazily.
if ((chptr = FindChannel(name)))
{
- name = chptr->chname;
+ /* Is the remote server confused? */
+ if (find_member_link(chptr, sptr)) {
+ protocol_violation(sptr, "%s tried to CREATE a channel already joined", cli_name(sptr));
+ continue;
+ }
/* Check if we need to bounce a mode */
if (TStime() - chanTS > TS_LAG_TIME ||