From 1c9168a6b86bf83a6e1e3631a46ce46bcbb07287 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 28 Jan 2021 15:39:35 +0200 Subject: [PATCH] PROTOCOL UPDATE Type: NotificationMessage Sub-type: Channel Channel changes from 1->0 Direct messages are meant to be 1 --- source/dnetd/dchannel.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnetd/dchannel.d b/source/dnetd/dchannel.d index 0c2d623..b4ef867 100644 --- a/source/dnetd/dchannel.d +++ b/source/dnetd/dchannel.d @@ -272,7 +272,7 @@ public class DChannel */ /* Set mode to channel message */ - msg ~= [cast(byte)1]; + msg ~= [cast(byte)0]; /* Encode the [usernameLength, username] */ msg ~= [(cast(byte)sender.getUsername().length)];