summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);