Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-11-15 03:36:37 UTC

Modified files:
     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.740 ircu2.10/ChangeLog:1.741
--- ircu2.10/ChangeLog:1.740    Mon Nov 14 19:22:16 2005
+++ ircu2.10/ChangeLog  Mon Nov 14 19:36:26 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.162 ircu2.10/ircd/channel.c:1.163
--- ircu2.10/ircd/channel.c:1.162       Mon Nov 14 19:22:16 2005
+++ ircu2.10/ircd/channel.c     Mon Nov 14 19:36:26 2005
@@ -19,7 +19,7 @@
  */
 /** @file
  * @brief Channel management and maintenance
- * @version $Id: channel.c,v 1.162 2005/11/15 03:22:16 entrope Exp $
+ * @version $Id: channel.c,v 1.163 2005/11/15 03:36:26 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

Reply via email to