mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 13:43:19 +02:00
Client
- Print out `RPL_BOUNCE` when it appears
This commit is contained in:
parent
d66bec5fa6
commit
087eb954d1
@ -139,6 +139,13 @@ public class Client : Thread
|
|||||||
|
|
||||||
/* Default implementation */
|
/* Default implementation */
|
||||||
logger.log("Response("~to!(string)(commandReply.getReplyType())~", "~commandReply.getFrom()~"): "~commandReply.toString());
|
logger.log("Response("~to!(string)(commandReply.getReplyType())~", "~commandReply.getFrom()~"): "~commandReply.toString());
|
||||||
|
|
||||||
|
import birchwood.protocol.constants : ReplyType;
|
||||||
|
|
||||||
|
if(commandReply.getReplyType() == ReplyType.RPL_BOUNCE)
|
||||||
|
{
|
||||||
|
logger.log("Take a look:\n\n"~commandReply.getParams());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user