aboutsummaryrefslogtreecommitdiff
path: root/src/game/WorldSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/WorldSocket.cpp')
-rw-r--r--src/game/WorldSocket.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/game/WorldSocket.cpp b/src/game/WorldSocket.cpp
index 0097da8f359..bad2f310d76 100644
--- a/src/game/WorldSocket.cpp
+++ b/src/game/WorldSocket.cpp
@@ -830,14 +830,14 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket)
" AND (RealmID = '%d'"
" OR RealmID = '-1')",
id, realmID);
- if(!result)
- security = 0;
- else
- {
- fields = result->Fetch ();
- security = fields[1].GetInt32();
- delete result;
- }
+ if(!result)
+ security = 0;
+ else
+ {
+ fields = result->Fetch ();
+ security = fields[1].GetInt32();
+ delete result;
+ }
// Re-check account ban (same check as in realmd)
QueryResult *banresult =