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