Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2006-01-04 02:24:10 UTC

Modified files:
  Tag: u2_10_12_branch
     ChangeLog ircd/channel.c

Log message:

Send channel TS when sending an on-join op for a user.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.56 ircu2.10/ChangeLog:1.710.2.57
--- ircu2.10/ChangeLog:1.710.2.56       Mon Jan  2 17:25:49 2006
+++ ircu2.10/ChangeLog  Tue Jan  3 18:23:58 2006
@@ -1,3 +1,9 @@
+2006-01-03  Michael Poole <[EMAIL PROTECTED]>
+
+       * 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 <[EMAIL PROTECTED]>
 
        * include/ircd_features.h (FEAT_ZANNELS): Remove.
Index: ircu2.10/ircd/channel.c
diff -u ircu2.10/ircd/channel.c:1.155.2.10 ircu2.10/ircd/channel.c:1.155.2.11
--- ircu2.10/ircd/channel.c:1.155.2.10  Mon Jan  2 17:25:50 2006
+++ ircu2.10/ircd/channel.c     Tue Jan  3 18:24:00 2006
@@ -19,7 +19,7 @@
  */
 /** @file
  * @brief Channel management and maintenance
- * @version $Id: channel.c,v 1.155.2.10 2006/01/03 01:25:50 entrope Exp $
+ * @version $Id: channel.c,v 1.155.2.11 2006/01/04 02:24:00 entrope Exp $
  */
 #include "config.h"
 
@@ -1862,7 +1862,7 @@
        * 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 ? "+" : "",
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to