1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 11:43:22 +02:00
- Removed testing code that looped through a separate `db`-like structure
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-25 13:06:06 +02:00
parent 03c887c39a
commit 5979387e87

View File

@ -186,9 +186,6 @@ public class Client : Thread
import std.stdio;
writeln("Support stuff: ", commandReply.getKVPairs());
testing(commandReply.getKVPairs());
/* Fetch and parse the received key-value pairs */
string[string] receivedKV = commandReply.getKVPairs();
foreach(string key; receivedKV.keys())
@ -200,22 +197,6 @@ public class Client : Thread
}
}
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
*