mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 17:53:39 +02:00
ChannelJoin notification now returns :<channel>,<username>" instead of just "<username>"
This commit is contained in:
parent
e265e09223
commit
68cd53ea8d
@ -238,7 +238,10 @@ public class DChannel
|
|||||||
protocolData ~= [1];
|
protocolData ~= [1];
|
||||||
|
|
||||||
/* Set the channel notificaiton type to `member join` */
|
/* Set the channel notificaiton type to `member join` */
|
||||||
protocolData ~= cast(byte[])joined.getUsername();
|
|
||||||
|
/* JoinInfo: <channel>,<username> */
|
||||||
|
string joinInfo = name~","~joined.getUsername();
|
||||||
|
protocolData ~= cast(byte[])joinInfo;
|
||||||
|
|
||||||
/* Write the notification */
|
/* Write the notification */
|
||||||
member.writeSocket(0, protocolData);
|
member.writeSocket(0, protocolData);
|
||||||
|
Loading…
Reference in New Issue
Block a user