mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 11:43:22 +02:00
Client
- Removed testing code that looped through a separate `db`-like structure
This commit is contained in:
parent
03c887c39a
commit
5979387e87
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user