Send channel TS when sending an on-join op for a user.
authorMichael Poole <mdpoole@troilus.org>
Wed, 4 Jan 2006 02:24:00 +0000 (02:24 +0000)
committerMichael Poole <mdpoole@troilus.org>
Wed, 4 Jan 2006 02:24:00 +0000 (02:24 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1601 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/channel.c

index 2c9ce6409835e3fbb58988f899b084fc00a99671..b105eeea311d56b10103306aba626f0abf433d53 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-03  Michael Poole <mdpoole@troilus.org>
+
+       * 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 <mdpoole@troilus.org>
 
        * include/ircd_features.h (FEAT_ZANNELS): Remove.
index b04bd3969941aa3c28dcb019558c537e22315e82..61b8896c9fe51ef21cee5f71f2d3110903c24092 100644 (file)
@@ -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 ? "+" : "",