CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_11_04
Commit time: 2002-12-28 16:31:46 UTC
Modified files:
Tag: u2_10_11_04
ChangeLog ircd/m_create.c
Log message:
Author: Kev <[EMAIL PROTECTED]>
Log message:
Fix a desync bug caused by setting the wrong flag to joinbuf_join(); kudos
to splidge for catching this one.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.290.2.126.2.4 ircu2.10/ChangeLog:1.290.2.126.2.5
--- ircu2.10/ChangeLog:1.290.2.126.2.4 Wed Dec 18 01:01:24 2002
+++ ircu2.10/ChangeLog Sat Dec 28 08:31:36 2002
@@ -1,3 +1,8 @@
+2002-12-28 Kevin L Mitchell <[EMAIL PROTECTED]>
+
+ * ircd/m_create.c (ms_create): we must pass in a flag, not a
+ boolean 1 or 0! Good spotting splidge...
+
2002-12-18 Kevin L Mitchell <[EMAIL PROTECTED]>
* ircd/s_stats.c (stats_init): er, should have started at 0--not
Index: ircu2.10/ircd/m_create.c
diff -u ircu2.10/ircd/m_create.c:1.9.2.3 ircu2.10/ircd/m_create.c:1.9.2.3.2.1
--- ircu2.10/ircd/m_create.c:1.9.2.3 Sat Dec 14 17:02:40 2002
+++ ircu2.10/ircd/m_create.c Sat Dec 28 08:31:36 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_create.c,v 1.9.2.3 2002/12/15 01:02:40 isomer Exp $
+ * $Id: m_create.c,v 1.9.2.3.2.1 2002/12/28 16:31:36 klmitch Exp $
*/
/*
@@ -180,7 +180,7 @@
chptr->creationtime = chanTS;
joinbuf_join(badop ? &join : &create, chptr,
- (badop || CHFL_CHANOP));
+ (badop ? 0 : CHFL_CHANOP));
}
joinbuf_flush(&join); /* flush out the joins and creates */
----------------------- End of diff -----------------------