Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2005-11-15 03:34:41 UTC
Modified files:
Tag: u2_10_12_branch
ChangeLog ircd/channel.c
Log message:
Fix revealing of remote users when they send to a channel.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.31 ircu2.10/ChangeLog:1.710.2.32
--- ircu2.10/ChangeLog:1.710.2.31 Mon Nov 14 19:20:22 2005
+++ ircu2.10/ChangeLog Mon Nov 14 19:34:30 2005
@@ -1,7 +1,8 @@
2005-11-14 Michael Poole <[EMAIL PROTECTED]>
* ircd/channel.c (member_can_send_to_channel): After prodding from
- reed, always allow remote users to send to a channel.
+ reed, always allow remote users to send to a channel. He also
+ pointed out a bug in the first version of this change.
2005-11-14 Carlo Wood <[EMAIL PROTECTED]>
Index: ircu2.10/ircd/channel.c
diff -u ircu2.10/ircd/channel.c:1.155.2.6 ircu2.10/ircd/channel.c:1.155.2.7
--- ircu2.10/ircd/channel.c:1.155.2.6 Mon Nov 14 19:20:22 2005
+++ ircu2.10/ircd/channel.c Mon Nov 14 19:34:30 2005
@@ -19,7 +19,7 @@
*/
/** @file
* @brief Channel management and maintenance
- * @version $Id: channel.c,v 1.155.2.6 2005/11/15 03:20:22 entrope Exp $
+ * @version $Id: channel.c,v 1.155.2.7 2005/11/15 03:34:30 entrope Exp $
*/
#include "config.h"
@@ -679,7 +679,11 @@
* we do not want to send ERR_CANNOTSENDTOCHAN more than once.
*/
if (!MyUser(member->user))
+ {
+ if (IsDelayedJoin(member) && reveal)
+ RevealDelayedJoin(member);
return 1;
+ }
/* Discourage using the Apass to get op. They should use the Upass. */
if (IsChannelManager(member) && member->channel->mode.apass[0])
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches