mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
clang-modernize -use-auto convert for world/queryserv.cpp
This commit is contained in:
parent
7e2661bbc1
commit
c9a75dcf64
@ -57,7 +57,7 @@ bool QueryServConnection::Process()
|
||||
struct in_addr in;
|
||||
in.s_addr = GetIP();
|
||||
_log(QUERYSERV__ERROR, "QueryServ authorization failed.");
|
||||
ServerPacket* pack = new ServerPacket(ServerOP_ZAAuthFailed);
|
||||
auto pack = new ServerPacket(ServerOP_ZAAuthFailed);
|
||||
SendPacket(pack);
|
||||
delete pack;
|
||||
Disconnect();
|
||||
@ -69,7 +69,7 @@ bool QueryServConnection::Process()
|
||||
struct in_addr in;
|
||||
in.s_addr = GetIP();
|
||||
_log(QUERYSERV__ERROR, "QueryServ authorization failed.");
|
||||
ServerPacket* pack = new ServerPacket(ServerOP_ZAAuthFailed);
|
||||
auto pack = new ServerPacket(ServerOP_ZAAuthFailed);
|
||||
SendPacket(pack);
|
||||
delete pack;
|
||||
Disconnect();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user