Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2006-01-07 01:08:39 UTC
Modified files:
Tag: u2_10_12_branch
ChangeLog ircd/channel.c
Log message:
Do not send JOIN for zombies given ops or voice.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.58 ircu2.10/ChangeLog:1.710.2.59
--- ircu2.10/ChangeLog:1.710.2.58 Fri Jan 6 16:54:09 2006
+++ ircu2.10/ChangeLog Fri Jan 6 17:08:29 2006
@@ -1,5 +1,10 @@
2006-01-06 Michael Poole <[EMAIL PROTECTED]>
+ * ircd/channel.c (mode_process_clients): Do not reveal zombies who
+ are being opped (MODE and KICK crossed). Reported by coekie.
+
+2006-01-06 Michael Poole <[EMAIL PROTECTED]>
+
* ircd/m_join.c (ms_join): Wipe out all modes (not just chanops)
when replacing a resurrected channel.
Index: ircu2.10/ircd/channel.c
diff -u ircu2.10/ircd/channel.c:1.155.2.11 ircu2.10/ircd/channel.c:1.155.2.12
--- ircu2.10/ircd/channel.c:1.155.2.11 Tue Jan 3 18:24:00 2006
+++ ircu2.10/ircd/channel.c Fri Jan 6 17:08:29 2006
@@ -19,7 +19,7 @@
*/
/** @file
* @brief Channel management and maintenance
- * @version $Id: channel.c,v 1.155.2.11 2006/01/04 02:24:00 entrope Exp $
+ * @version $Id: channel.c,v 1.155.2.12 2006/01/07 01:08:29 entrope Exp $
*/
#include "config.h"
@@ -3085,7 +3085,7 @@
/* actually effect the change */
if (state->flags & MODE_PARSE_SET) {
if (state->cli_change[i].flag & MODE_ADD) {
- if (IsDelayedJoin(member))
+ if (IsDelayedJoin(member) && !IsZombie(member))
RevealDelayedJoin(member);
member->status |= (state->cli_change[i].flag &
(MODE_CHANOP | MODE_VOICE));
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches