Count a join to a new channel as a target change.
authorMichael Poole <mdpoole@troilus.org>
Mon, 28 Nov 2005 02:17:29 +0000 (02:17 +0000)
committerMichael Poole <mdpoole@troilus.org>
Mon, 28 Nov 2005 02:17:29 +0000 (02:17 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1571 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_join.c

index f0b7e046e5c36ee49245425f0bd45f21083b6733..3f2cef74684cb09462466540eb4e73cb73226ab4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-27  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_join.c (m_join): Count a join to a new channel as a
+       target change.
+
 2005-11-19  Michael Poole <mdpoole@troilus.org>
 
        * ircd/s_stats.c (stats_servers_verbose): Display IPv6 support
index b5a675cb20cb7d3093caf3b9c36ed8a65fb7372f..3a22b494907909f973ac9ee9bff7d9a9e29b6ba5 100644 (file)
@@ -167,7 +167,7 @@ int m_join(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
         continue;
 
       /* Try to add the new channel as a recent target for the user. */
-      if (check_target_limit(sptr, chptr, chptr->chname, 1)) {
+      if (check_target_limit(sptr, chptr, chptr->chname, 0)) {
         chptr->members = 0;
         destruct_channel(chptr);
         continue;