1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 11:22:53 +02:00
- Store all learnt key-value pairs into `string[string] attrs` for now
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-18 11:45:38 +02:00
parent ece8593b60
commit 17c81bd1b0

View File

@ -163,13 +163,29 @@ public class Client : Thread
writeln("Support stuff: ", commandReply.getKVPairs());
testing(commandReply.getKVPairs());
}
}
private string[string] attrs;
private void testing(string[string] newData)
{
foreach(string key; newData.keys())
{
attrs[key] = newData[key];
}
foreach(string key; attrs.keys())
{
logger.debug_("Attribute name:", key);
logger.debug_("Attribute value:", attrs[key]);
}
}
/**
* Joins the requested channel
*