1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 13:43:19 +02:00
- Test out new `getKVPairs()` and `getTrailing()`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-16 13:53:14 +02:00
parent 0224f4554b
commit 8a808cf9f2

View File

@ -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];