aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/Database/DatabaseEnv.h2
-rw-r--r--src/shared/Log.cpp4
-rw-r--r--src/shared/vmap/VMapManager.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/Database/DatabaseEnv.h b/src/shared/Database/DatabaseEnv.h
index 1d3d735881c..d5d6867e82f 100644
--- a/src/shared/Database/DatabaseEnv.h
+++ b/src/shared/Database/DatabaseEnv.h
@@ -50,7 +50,7 @@ typedef DatabaseMysql DatabaseType;
extern DatabaseType WorldDatabase;
extern DatabaseType CharacterDatabase;
-extern DatabaseType LoginDatabase;
+extern DatabaseType loginDatabase;
#endif
diff --git a/src/shared/Log.cpp b/src/shared/Log.cpp
index 8cc2dff504d..8dc23066245 100644
--- a/src/shared/Log.cpp
+++ b/src/shared/Log.cpp
@@ -359,9 +359,9 @@ void Log::outDB( LogTypes type, const char * str )
std::string new_str(str);
if (new_str.empty())
return;
- LoginDatabase.escape_string(new_str);
+ loginDatabase.escape_string(new_str);
- LoginDatabase.PExecute("INSERT INTO logs (time, realm, type, string) "
+ loginDatabase.PExecute("INSERT INTO logs (time, realm, type, string) "
"VALUES (" UI64FMTD ", %u, %u, '%s');", uint64(time(0)), realm, type, new_str.c_str());
}
diff --git a/src/shared/vmap/VMapManager.cpp b/src/shared/vmap/VMapManager.cpp
index f5c2640be70..342da0eb9e2 100644
--- a/src/shared/vmap/VMapManager.cpp
+++ b/src/shared/vmap/VMapManager.cpp
@@ -446,7 +446,7 @@ namespace VMAP
//=========================================================
/**
- get height or INVALID_HEIGHT if to hight was calculated
+ get height or INVALID_HEIGHT if to height was calculated
*/
//int gGetHeightCounter = 0;