mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 15:02:53 +02:00
Client
- Test out new `getKVPairs()` and `getTrailing()`
This commit is contained in:
parent
0224f4554b
commit
8a808cf9f2
@ -609,6 +609,9 @@ public class Client : Thread
|
|||||||
|
|
||||||
if(cmp(command, "PRIVMSG") == 0)
|
if(cmp(command, "PRIVMSG") == 0)
|
||||||
{
|
{
|
||||||
|
logger.debug_("PrivMessage parser (kv-pairs): ", ircMessage.getKVPairs());
|
||||||
|
logger.debug_("PrivMessage parser (trailing): ", ircMessage.getTrailing());
|
||||||
|
|
||||||
/* Split up into (channel/nick) and (message)*/
|
/* Split up into (channel/nick) and (message)*/
|
||||||
long firstSpaceIdx = indexOf(params, " "); //TODO: validity check;
|
long firstSpaceIdx = indexOf(params, " "); //TODO: validity check;
|
||||||
string chanNick = params[0..firstSpaceIdx];
|
string chanNick = params[0..firstSpaceIdx];
|
||||||
|
Loading…
Reference in New Issue
Block a user