From dfa03a26b25e2c8b27abeed7064abda2ebf32a2a Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Wed, 4 Jan 2006 02:24:00 +0000 Subject: [PATCH] Send channel TS when sending an on-join op for a user. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1601 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 6 ++++++ ircd/channel.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2c9ce64..b105eee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-01-03 Michael Poole + + * ircd/channel.c (modebuf_flush_int): Also send timestamp when &me + originates the MODE going to other servers (currently just when a + client joins a zannel or uses an A/U password). + 2006-01-02 Michael Poole * include/ircd_features.h (FEAT_ZANNELS): Remove. diff --git a/ircd/channel.c b/ircd/channel.c index b04bd39..61b8896 100644 --- a/ircd/channel.c +++ b/ircd/channel.c @@ -1862,7 +1862,7 @@ modebuf_flush_int(struct ModeBuf *mbuf, int all) * We're propagating a normal MODE command to the rest of the network; * we send the actual channel TS unless this is a HACK3 or a HACK4 */ - if (IsServer(mbuf->mb_source)) + if (IsServer(mbuf->mb_source) || IsMe(mbuf->mb_source)) sendcmdto_serv_butone(mbuf->mb_source, CMD_MODE, mbuf->mb_connect, "%H %s%s%s%s%s%s %Tu", mbuf->mb_channel, rembuf_i ? "-" : "", rembuf, addbuf_i ? "+" : "", -- 2.20.1