From 9a1cd93a35b5046495d3d1a8a9fdee1e4aee0898 Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 26 Feb 2014 16:50:25 +0000 Subject: - channel_mode.c:send_cap_mode_changes(): fixed bug where MODE is used when it should use TMODE git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3052 82007160-df01-0410-b94d-b575c5fd34c7 --- src/channel_mode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/channel_mode.c b/src/channel_mode.c index 9e23791..94b6002 100644 --- a/src/channel_mode.c +++ b/src/channel_mode.c @@ -1708,8 +1708,8 @@ send_cap_mode_changes(struct Client *client_p, struct Client *source_p, mc = 0; if ((cap & CAP_TS6) && source_p->id[0] != '\0') - mbl = snprintf(modebuf, sizeof(modebuf), ":%s MODE %s ", source_p->id, - chptr->chname); + mbl = snprintf(modebuf, sizeof(modebuf), ":%s TMODE %lu %s ", source_p->id, + (unsigned long)chptr->channelts, chptr->chname); else mbl = snprintf(modebuf, sizeof(modebuf), ":%s MODE %s ", source_p->name, chptr->chname); -- cgit