mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
Print out name of incoming server link request
This commit is contained in:
parent
df0a9ec0e7
commit
3d8e2cc522
@ -385,8 +385,9 @@ public class DConnection : Thread
|
||||
//server.getMeyer().get
|
||||
gprintln("OurMeyer: "~to!(string)(server.getMeyer()));
|
||||
|
||||
|
||||
gprintln()
|
||||
ubyte[] data = cast(ubyte[])message.getData()[1..message.getData().length];
|
||||
string serverNameIncoming = cast(string)data[1..1+data[0]];
|
||||
gprintln("Server incoming linking request with name '"~serverNameIncoming~"'", DebugType.WARNING);
|
||||
|
||||
|
||||
/* Set the type of this connection to `server` */
|
||||
|
Loading…
Reference in New Issue
Block a user