summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
commita6d18b282ab916c6536dc25516affeb9200043b6 (patch)
tree9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/net/tmwa/loginrecv.cpp
parent98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff)
downloadplus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.gz
plus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.bz2
plus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.xz
plus-a6d18b282ab916c6536dc25516affeb9200043b6.zip
Fix code style.s20181102
Diffstat (limited to 'src/net/tmwa/loginrecv.cpp')
-rw-r--r--src/net/tmwa/loginrecv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/loginrecv.cpp b/src/net/tmwa/loginrecv.cpp
index 91d11b05e..43db7b99a 100644
--- a/src/net/tmwa/loginrecv.cpp
+++ b/src/net/tmwa/loginrecv.cpp
@@ -65,7 +65,7 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg)
{ // old TMWA
const unsigned int options = msg.readInt32("options");
Ea::LoginRecv::mRegistrationEnabled =
- ((options & FLAG_REGISTRATION) != 0u);
+ ((options & FLAG_REGISTRATION) != 0U);
serverVersion = 0;
tmwServerVersion = 0;
}
@@ -73,7 +73,7 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg)
{ // new TMWA
const unsigned int options = msg.readInt32("options");
Ea::LoginRecv::mRegistrationEnabled =
- ((options & FLAG_REGISTRATION) != 0u);
+ ((options & FLAG_REGISTRATION) != 0U);
serverVersion = 0;
tmwServerVersion = (b1 << 16) | (b2 << 8) | b3;
}
@@ -81,7 +81,7 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg)
{ // eAthena
const unsigned int options = msg.readInt32("options");
Ea::LoginRecv::mRegistrationEnabled =
- ((options & FLAG_REGISTRATION) != 0u);
+ ((options & FLAG_REGISTRATION) != 0U);
serverVersion = 0;
tmwServerVersion = 0;
}