From a746d2ba716102fc89e053a2e9fde7bb69346f14 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Tue, 15 Nov 2005 03:36:26 +0000 Subject: [PATCH] Fix revealing of remote users when they send to a channel. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1555 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 3 ++- ircd/channel.c | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 783886b..382132f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 2005-11-14 Michael Poole * 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 diff --git a/ircd/channel.c b/ircd/channel.c index 6502c49..a93f676 100644 --- a/ircd/channel.c +++ b/ircd/channel.c @@ -679,7 +679,11 @@ int member_can_send_to_channel(struct Membership* member, int reveal) * 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]) -- 2.20.1