aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-02-14 18:47:12 +0100
committerShauren <shauren.trinity@gmail.com>2016-02-14 18:47:12 +0100
commitce6221b10ba4e3edcdbf78cc3f9c7a59be78f820 (patch)
tree2182a2ece68870018f231b6b6a28379757a8bafd
parent5bf90b33388bfabb3f7a434980021083d9911a36 (diff)
Warning fix
-rw-r--r--src/server/authserver/Server/AuthSession.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp
index 509e170f5d1..acab29a5b86 100644
--- a/src/server/authserver/Server/AuthSession.cpp
+++ b/src/server/authserver/Server/AuthSession.cpp
@@ -355,7 +355,6 @@ void AuthSession::LogonChallengeCallback(PreparedQueryResult result)
uint16 port = GetRemotePort();
// If the IP is 'locked', check that the player comes indeed from the correct IP address
- bool locked = false;
if (_accountInfo.IsLockedToIP)
{
TC_LOG_DEBUG("server.authserver", "[AuthChallenge] Account '%s' is locked to IP - '%s' is logging in from '%s'", _accountInfo.Login.c_str(), _accountInfo.LastIP.c_str(), ipAddress.c_str());