|
|
|
|
@ -447,9 +447,13 @@ void IRCDDBApp::sendPing(const std::string &to, const std::string &from)
|
|
|
|
|
std::string ircUser = t + std::string("-") + std::to_string(j);
|
|
|
|
|
|
|
|
|
|
if (1 == d->user.count(ircUser)) {
|
|
|
|
|
printf("IRCDDBApp::sendPing: sending ping to %s\n", ircUser.c_str());
|
|
|
|
|
IRCMessage *rm = new IRCMessage(t, "IDRT_PING");
|
|
|
|
|
rm->addParam(from);
|
|
|
|
|
std::string out;
|
|
|
|
|
rm->composeMessage(out);
|
|
|
|
|
out.pop_back();
|
|
|
|
|
out.pop_back();
|
|
|
|
|
printf("IRCDDBApp::sendPing: %s\n", out.c_str());
|
|
|
|
|
d->sendQ->putMessage(rm);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|