CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_11_03
Commit time: 2002-11-23 18:05:01 UTC
Modified files:
Tag: u2_10_11_03
ChangeLog ircd/m_join.c
Log message:
Author: Kev <[EMAIL PROTECTED]>
Log message:
Minor change: zero the control character sentinel so users can join non-
control-charactered channels listed after the first such channel. Just
giving them the benefit of the doubt...
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.290.2.125.2.14 ircu2.10/ChangeLog:1.290.2.125.2.15
--- ircu2.10/ChangeLog:1.290.2.125.2.14 Sat Nov 23 09:10:18 2002
+++ ircu2.10/ChangeLog Sat Nov 23 10:04:50 2002
@@ -1,5 +1,9 @@
2002-11-23 Kevin L Mitchell <[EMAIL PROTECTED]>
+ * ircd/m_join.c (m_join): reset control character sentinel;
+ otherwise, all channels after the first control-charactered
+ channel get rejected as well
+
* ircd/m_create.c (ms_create): add missing )
* ircd/m_account.c: include string.h to stomp a "implicit
Index: ircu2.10/ircd/m_join.c
diff -u ircu2.10/ircd/m_join.c:1.16.2.2.2.3 ircu2.10/ircd/m_join.c:1.16.2.2.2.4
--- ircu2.10/ircd/m_join.c:1.16.2.2.2.3 Sat Nov 23 09:10:19 2002
+++ ircu2.10/ircd/m_join.c Sat Nov 23 10:04:51 2002
@@ -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.16.2.2.2.3 2002/11/23 17:10:19 klmitch Exp $
+ * $Id: m_join.c,v 1.16.2.2.2.4 2002/11/23 18:04:51 klmitch Exp $
*/
/*
@@ -202,7 +202,7 @@
/* This checks if the channel contains control codes and rejects em
* until they are gone, then we will do it otherwise - *SOB Mode*
*/
- for (j = 0; name[j]; j++)
+ for (k = 0, j = 0; name[j]; j++)
if (IsCntrl(name[j]))
k++;
----------------------- End of diff -----------------------