summaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthSocket.cpp
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2020-12-08 01:37:41 +0100
committerGitHub <noreply@github.com>2020-12-07 18:37:41 -0600
commit9266ac6bf5d69ad54ec2b682b97a42828c4a8f7c (patch)
treeffe12a6cf1d217c701c7ca14ab52180655abdb23 /src/server/authserver/Server/AuthSocket.cpp
parentb1f108900d34281334ff6e70a9cc1344b3a05812 (diff)
refactor(Core): apply clang-tidy modernize-use-bool-literals (#3826)
Diffstat (limited to 'src/server/authserver/Server/AuthSocket.cpp')
-rw-r--r--src/server/authserver/Server/AuthSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Server/AuthSocket.cpp b/src/server/authserver/Server/AuthSocket.cpp
index 231b86d872..6571b053d0 100644
--- a/src/server/authserver/Server/AuthSocket.cpp
+++ b/src/server/authserver/Server/AuthSocket.cpp
@@ -213,7 +213,7 @@ void AuthSocket::OnRead()
uint32 challengesInARowRealmList = 0;
uint8 _cmd;
- while (1)
+ while (true)
{
if (!socket().recv_soft((char*)&_cmd, 1))
return;