Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-11-28 02:17:39 UTC

Modified files:
     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.749 ircu2.10/ChangeLog:1.750
--- ircu2.10/ChangeLog:1.749    Sat Nov 19 15:59:21 2005
+++ ircu2.10/ChangeLog  Sun Nov 27 18:17:29 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.39 ircu2.10/ircd/m_join.c:1.40
--- ircu2.10/ircd/m_join.c:1.39 Sun Nov 13 08:00:58 2005
+++ ircu2.10/ircd/m_join.c      Sun Nov 27 18:17:29 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.39 2005/11/13 16:00:58 entrope Exp $
+ * $Id: m_join.c,v 1.40 2005/11/28 02:17:29 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