From 68cd53ea8db8379a492438c1c080b00a230152f9 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Sun, 18 Oct 2020 13:29:18 +0200 Subject: [PATCH] ChannelJoin notification now returns :," instead of just "" --- source/dnetd/dchannel.d | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/dnetd/dchannel.d b/source/dnetd/dchannel.d index 9e6c7cc..a85b3e1 100644 --- a/source/dnetd/dchannel.d +++ b/source/dnetd/dchannel.d @@ -238,7 +238,10 @@ public class DChannel protocolData ~= [1]; /* Set the channel notificaiton type to `member join` */ - protocolData ~= cast(byte[])joined.getUsername(); + + /* JoinInfo: , */ + string joinInfo = name~","~joined.getUsername(); + protocolData ~= cast(byte[])joinInfo; /* Write the notification */ member.writeSocket(0, protocolData);