parent
b7f99beaed
commit
521a4a7f7c
@ -0,0 +1,14 @@ |
||||
#include "ICommand/ICommandPriv.h" |
||||
|
||||
void ICommandPriv::cmd_ctcpreply(const std::string& target, const std::string& command, const std::string& message) |
||||
{ |
||||
QString qmsg = QString::fromStdString(command); |
||||
if (!message.empty()) |
||||
qmsg += " " + QString::fromStdString(message); |
||||
|
||||
status.printToActive(PrintType::CTCP, QStringLiteral("Sending [CTCP REPLY %1] to %2") |
||||
.arg(qmsg) |
||||
.arg(target.c_str())); |
||||
|
||||
connection.ctcpResponse(target, command, message); |
||||
} |
Loading…
Reference in new issue