Unify ClientLogin logging [skip ci]

This commit is contained in:
Akkadius committed 2019-09-07 23:59:12 -05:00
1 parent 89dbdff925
commit 3230d81d2c
4 files changed
+16 -13

No files matched your search

+1 -1
View File
@@ -2590,7 +2590,7 @@ void Client::SetPVP(bool toggle, bool message) {
void Client::Kick(const std::string &reason) {
client_state = CLIENT_KICKED;
Log(Logs::General, Logs::ClientLogin, "Client [%s] kicked, reason [%s]", GetCleanName(), reason.c_str());
LogClientLogin("Client [[{}]] kicked, reason [[{}]]", GetCleanName(), reason.c_str());
}
void Client::WorldKick() {