From 087eb954d13a54ea0adad3d4e8d7bdb36d47fc15 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Thu, 16 Mar 2023 08:05:34 +0200 Subject: [PATCH] Client - Print out `RPL_BOUNCE` when it appears --- source/birchwood/client/client.d | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/birchwood/client/client.d b/source/birchwood/client/client.d index 1a46a23..b2b4210 100644 --- a/source/birchwood/client/client.d +++ b/source/birchwood/client/client.d @@ -139,6 +139,13 @@ public class Client : Thread /* Default implementation */ 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()); + } } /**