mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 13:57:16 +00:00
Minor fixes to CLE stale system
This commit is contained in:
1 parent
23a187f6c1
commit
212f8a3062
6 files changed
+9
-11
No files matched your search
@@ -1166,8 +1166,8 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
||||
*/
|
||||
Client* client = entity_list.GetClientByName(cze->char_name);
|
||||
if (!zone->GetAuth(ip, cze->char_name, &WID, &account_id, &character_id, &admin, lskey, &tellsoff)) {
|
||||
Log(Logs::General, Logs::Error, "GetAuth() returned false kicking client");
|
||||
if (client != 0) {
|
||||
Log(Logs::General, Logs::Client_Login, "%s failed zone auth check.", cze->char_name);
|
||||
if (nullptr != client) {
|
||||
client->Save();
|
||||
client->Kick();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user