1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 09:43:37 +02:00

Upgraded to new tristanable

This commit is contained in:
Tristan B. Kildaire 2021-01-30 12:10:48 +02:00
parent b5f6cec7b2
commit ed350c5c71
3 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,7 @@
],
"copyright": "Copyright © 2020, Tristan B. Kildaire",
"dependencies": {
"bformat": "~>3.1.0",
"bformat": "3.1.0",
"gogga": "0.0.2",
"tristanable": "2.2.0"
},

View File

@ -3,6 +3,6 @@
"versions": {
"bformat": "3.1.0",
"gogga": "0.0.2",
"tristanable": "0.0.33"
"tristanable": "2.2.0"
}
}

View File

@ -136,7 +136,10 @@ public final class DLink : Thread
byte[] data;
data ~= [1];
/* TODO: Encode [nameLen, name] */
/* TODO: Encode [serverNameLen, serverName] */
string serverName;
data ~= [cast(byte)serverName.length];
data ~= serverName;
/* Encode and send LINK command */
DataMessage message = new DataMessage(0, data);