mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
Type corrected
This commit is contained in:
parent
51b2dc4876
commit
df0a9ec0e7
@ -385,6 +385,9 @@ public class DConnection : Thread
|
||||
//server.getMeyer().get
|
||||
gprintln("OurMeyer: "~to!(string)(server.getMeyer()));
|
||||
|
||||
|
||||
gprintln()
|
||||
|
||||
|
||||
/* Set the type of this connection to `server` */
|
||||
connType = ConnectionType.SERVER;
|
||||
|
@ -179,7 +179,7 @@ public final class DLink : Thread
|
||||
if(dataReply[0] == 0)
|
||||
{
|
||||
/* TODO: Get server name, makes sure it matches on in config file */
|
||||
byte nameLen = dataReply[1];
|
||||
ubyte nameLen = dataReply[1];
|
||||
string name = cast(string)dataReply[2..2+nameLen];
|
||||
gprintln("Server said his name is '"~name~"'", DebugType.WARNING);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user