mirror of https://github.com/deavminet/dnetd.git
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];
|
||||
|
||||
/* 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 */
|
||||
member.writeSocket(0, protocolData);
|
||||
|
|
Loading…
Reference in New Issue