aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Logging
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2011-07-01 12:48:21 +0200
committerQAston <qaston@gmail.com>2011-07-01 12:48:21 +0200
commit06515b27b3a92b353b63ee98b99d8c44f24e7194 (patch)
tree3ee85275da234a7e0311d898107e5e5e376717c6 /src/server/shared/Logging
parent3b8dce669d6ce4aad680da99dae1b73fe54b17df (diff)
parenta9c9ab0efa7e41c31f52e71749048300d809d69a (diff)
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
Diffstat (limited to 'src/server/shared/Logging')
-rwxr-xr-xsrc/server/shared/Logging/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/shared/Logging/Log.cpp b/src/server/shared/Logging/Log.cpp
index e755e7208c3..ac74f893d58 100755
--- a/src/server/shared/Logging/Log.cpp
+++ b/src/server/shared/Logging/Log.cpp
@@ -364,7 +364,7 @@ void Log::outDB(LogTypes type, const char * str)
std::string new_str(str);
if (new_str.empty())
return;
- LoginDatabase.escape_string(new_str);
+ LoginDatabase.EscapeString(new_str);
LoginDatabase.PExecute("INSERT INTO logs (time, realm, type, string) "
"VALUES (" UI64FMTD ", %u, %u, '%s');", uint64(time(0)), realm, type, new_str.c_str());