mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
clang-modernize -use-auto convert for world/queryserv.cpp
This commit is contained in:
+2
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user