Add channel name to PV message for redundant CREATE.
authorMichael Poole <mdpoole@troilus.org>
Sat, 13 Jan 2007 18:45:08 +0000 (18:45 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sat, 13 Jan 2007 18:45:08 +0000 (18:45 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1744 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_create.c

index edb182610dc320e9949b45c95b129f026a3ebb96..887ce4af8025d0d84bdfd5332c1f9adbf046397b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-13  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_create.c (ms_create): Add channel name to the protocol
+       violation notice for a redundant CREATE.
+
 2006-01-13  Michael Poole <mdpoole@troilus.org>
 
        * ircd/s_user.c (set_nick_name): Use user's account name rather
index db21be8d00de8f4b07b33ee2a28dcd88f773d9ca..df2085e1415e3a61fff32391a3bc8cdf9916c45b 100644 (file)
@@ -160,7 +160,7 @@ int ms_create(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
     {
       /* 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));
+        protocol_violation(sptr, "%s tried to CREATE a channel already joined (%s)", cli_name(sptr), chptr->chname);
         continue;
       }