Cosmetic: rename function escape_string to EscapeString

This commit is contained in:
Spp- committed 2011-06-30 14:52:44 +02:00
1 parent 6fd41ae50e
commit e9aa72cc7b
21 files changed
+43 -43

No files matched your search

+2 -2
View File
@@ -812,7 +812,7 @@ 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.EscapeString (safe_account);
// No SQL injection, username escaped.
QueryResult result =
@@ -978,7 +978,7 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket)
// Update the last_ip in the database
// No SQL injection, username escaped.
LoginDatabase.escape_string (address);
LoginDatabase.EscapeString (address);
LoginDatabase.PExecute ("UPDATE account "
"SET last_ip = '%s' "