Merge pull request #182 from Salanto/Fix-#145

Send confirm message on success of /pm
This commit is contained in:
Rose Witchaven 2021-08-10 15:00:30 -05:00 committed by GitHub
commit 28ab60cfea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,7 @@ void AOClient::cmdPM(int arc, QStringList argv)
}
QString message = argv.join(" "); //...which means it will not end up as part of the message
target_client->sendServerMessage("Message from " + ooc_name + " (" + QString::number(id) + "): " + message);
sendServerMessage("PM sent to " + QString::number(target_id) +". Message: " + message);
}
void AOClient::cmdAnnounce(int argc, QStringList argv)