aboutsummaryrefslogtreecommitdiff
path: root/src/game/WorldSocket.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-31 11:29:28 +0800
committermegamage <none@none>2009-07-31 11:29:28 +0800
commit0fcadd9d257fc716e7dc90b4034f33280f4dcb14 (patch)
treec15f3e0a9882eaa99bac40058b73151f811efd75 /src/game/WorldSocket.cpp
parentca271eb5dceb2ad7d82a757b9df54c6882fec1b4 (diff)
*Replace "LoginDatabase" with "loginDatabase"
--HG-- branch : trunk
Diffstat (limited to 'src/game/WorldSocket.cpp')
-rw-r--r--src/game/WorldSocket.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/WorldSocket.cpp b/src/game/WorldSocket.cpp
index 440eeb31790..1acafa88487 100644
--- a/src/game/WorldSocket.cpp
+++ b/src/game/WorldSocket.cpp
@@ -717,11 +717,11 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket)
// Get the account information from the realmd database
std::string safe_account = account; // Duplicate, else will screw the SHA hash verification below
- LoginDatabase.escape_string (safe_account);
+ loginDatabase.escape_string (safe_account);
// No SQL injection, username escaped.
QueryResult *result =
- LoginDatabase.PQuery ("SELECT "
+ loginDatabase.PQuery ("SELECT "
"id, " //0
"gmlevel, " //1
"sessionkey, " //2
@@ -786,7 +786,7 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket)
vold,
vStr);
- LoginDatabase.PExecute ("UPDATE account "
+ loginDatabase.PExecute ("UPDATE account "
"SET "
"v = '0', "
"s = '0' "
@@ -843,7 +843,7 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket)
// Re-check account ban (same check as in realmd)
QueryResult *banresult =
- LoginDatabase.PQuery ("SELECT "
+ loginDatabase.PQuery ("SELECT "
"bandate, "
"unbandate "
"FROM account_banned "
@@ -909,9 +909,9 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket)
// Update the last_ip in the database
// No SQL injection, username escaped.
- LoginDatabase.escape_string (address);
+ loginDatabase.escape_string (address);
- LoginDatabase.PExecute ("UPDATE account "
+ loginDatabase.PExecute ("UPDATE account "
"SET last_ip = '%s' "
"WHERE username = '%s'",
address.c_str (),