summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-02-26 16:50:25 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-02-26 16:50:25 +0000
commit9a1cd93a35b5046495d3d1a8a9fdee1e4aee0898 (patch)
tree8fc851e7d6070c7188c693645d171e8386c245d3
parentf9ad830ab4606b482a1e5c12f33edd07af3959a1 (diff)
- 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
-rw-r--r--src/channel_mode.c4
1 files 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);