|
|
|
@ -188,6 +188,7 @@ bool IRCProtocol::processQueues(IRCMessageQueue *recvQ, IRCMessageQueue *sendQ)
|
|
|
|
printf("currentNick='%s' 1='%s'\n", currentNick.c_str(), m->params[1].c_str());
|
|
|
|
printf("currentNick='%s' 1='%s'\n", currentNick.c_str(), m->params[1].c_str());
|
|
|
|
if (0 == m->params[1].find("IDRT_PING")) {
|
|
|
|
if (0 == m->params[1].find("IDRT_PING")) {
|
|
|
|
std::string from = m->params[1].substr(10);
|
|
|
|
std::string from = m->params[1].substr(10);
|
|
|
|
|
|
|
|
printf("to replyQ: IDRT_PING %s\n", from.c_str());
|
|
|
|
IRCMessage *rm = new IRCMessage("IDRT_PING");
|
|
|
|
IRCMessage *rm = new IRCMessage("IDRT_PING");
|
|
|
|
rm->addParam(from);
|
|
|
|
rm->addParam(from);
|
|
|
|
app->putReplyMessage(rm);
|
|
|
|
app->putReplyMessage(rm);
|
|
|
|
|