Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2005-11-28 02:14:49 UTC

Modified files:
  Tag: u2_10_12_branch
     ChangeLog ircd/m_join.c

Log message:

Count a join to a new channel as a target change.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.42 ircu2.10/ChangeLog:1.710.2.43
--- ircu2.10/ChangeLog:1.710.2.42       Sat Nov 19 15:57:13 2005
+++ ircu2.10/ChangeLog  Sun Nov 27 18:14:38 2005
@@ -1,3 +1,8 @@
+2005-11-27  Michael Poole <[EMAIL PROTECTED]>
+
+       * ircd/m_join.c (m_join): Count a join to a new channel as a
+       target change.
+
 2005-11-19  Michael Poole <[EMAIL PROTECTED]>
 
        * ircd/s_stats.c (stats_servers_verbose): Display IPv6 support
Index: ircu2.10/ircd/m_join.c
diff -u ircu2.10/ircd/m_join.c:1.34.2.4 ircu2.10/ircd/m_join.c:1.34.2.5
--- ircu2.10/ircd/m_join.c:1.34.2.4     Sun Nov 13 07:28:17 2005
+++ ircu2.10/ircd/m_join.c      Sun Nov 27 18:14:38 2005
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: m_join.c,v 1.34.2.4 2005/11/13 15:28:17 entrope Exp $
+ * $Id: m_join.c,v 1.34.2.5 2005/11/28 02:14:38 entrope Exp $
  */
 
 #include "config.h"
@@ -167,7 +167,7 @@
         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;
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to