mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-08 01:13:35 +00:00
clang-modernize -use-auto convert for world/queryserv.cpp
This commit is contained in:
1 parent
7e2661bbc1
commit
c9a75dcf64
1 file changed
+2
-2
+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