From c53fc034d23b6c08b4dc51525fd9ff5060685bab Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Sat, 25 Mar 2023 13:01:35 +0200 Subject: [PATCH] Client - Update the `ConnInfo`'s `db` on `RPL_ISUPPORT` --- source/birchwood/client/client.d | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/birchwood/client/client.d b/source/birchwood/client/client.d index a1f8986..09b87a0 100644 --- a/source/birchwood/client/client.d +++ b/source/birchwood/client/client.d @@ -189,7 +189,13 @@ public class Client : Thread testing(commandReply.getKVPairs()); - + /* Fetch and parse the received key-value pairs */ + string[string] receivedKV = commandReply.getKVPairs(); + foreach(string key; receivedKV.keys()) + { + /* Update the db */ + connInfo.updateDB(key, receivedKV[key]); + } } }