aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKinzcool <kinzzcool@hotmail.com>2014-11-11 15:35:41 -0500
committerKinzcool <kinzzcool@hotmail.com>2014-11-11 15:35:41 -0500
commitac53077dff6937b38463938175299e3beac5c20e (patch)
tree3099c97fd8487373bc7cca7db4ba273d460838cd /src
parent7315333141c0bd1662c0a6a642c33dcc0e881d7e (diff)
Conf: Changed hotfix database's name to actually match the initial name
Diffstat (limited to 'src')
-rw-r--r--src/server/worldserver/Main.cpp10
-rw-r--r--src/server/worldserver/worldserver.conf.dist4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp
index c46a1dffeec..cabfa03c165 100644
--- a/src/server/worldserver/Main.cpp
+++ b/src/server/worldserver/Main.cpp
@@ -571,28 +571,28 @@ bool StartDB()
return false;
}
- ///- Get hotfix database info from configuration file
+ ///- Get hotfixes database info from configuration file
dbString = sConfigMgr->GetStringDefault("HotfixDatabaseInfo", "");
if (dbString.empty())
{
- TC_LOG_ERROR("server.worldserver", "Hotfix database not specified in configuration file");
+ TC_LOG_ERROR("server.worldserver", "Hotfixes database not specified in configuration file");
return false;
}
asyncThreads = uint8(sConfigMgr->GetIntDefault("HotfixDatabase.WorkerThreads", 1));
if (asyncThreads < 1 || asyncThreads > 32)
{
- TC_LOG_ERROR("server.worldserver", "Hotfix database: invalid number of worker threads specified. "
+ TC_LOG_ERROR("server.worldserver", "Hotfixes database: invalid number of worker threads specified. "
"Please pick a value between 1 and 32.");
return false;
}
synchThreads = uint8(sConfigMgr->GetIntDefault("HotfixDatabase.SynchThreads", 2));
- ///- Initialize the Hotfix database
+ ///- Initialize the hotfixes database
if (!HotfixDatabase.Open(dbString, asyncThreads, synchThreads))
{
- TC_LOG_ERROR("server.worldserver", "Cannot connect to Hotfix database %s", dbString.c_str());
+ TC_LOG_ERROR("server.worldserver", "Cannot connect to the hotfix database %s", dbString.c_str());
return false;
}
diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist
index d7af94c133c..71bc9233f87 100644
--- a/src/server/worldserver/worldserver.conf.dist
+++ b/src/server/worldserver/worldserver.conf.dist
@@ -93,12 +93,12 @@ LogsDir = ""
# Default: "127.0.0.1;3306;trinity;trinity;auth" - (LoginDatabaseInfo)
# "127.0.0.1;3306;trinity;trinity;world" - (WorldDatabaseInfo)
# "127.0.0.1;3306;trinity;trinity;characters" - (CharacterDatabaseInfo)
-# "127.0.0.1;3306;trinity;trinity;hotfix" - (HotfixDatabaseInfo)
+# "127.0.0.1;3306;trinity;trinity;hotfixes" - (HotfixDatabaseInfo)
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"
WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world"
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters"
-HotfixDatabaseInfo = "127.0.0.1;3306;trinity;trinity;hotfix"
+HotfixDatabaseInfo = "127.0.0.1;3306;trinity;trinity;hotfixes"
#
# LoginDatabase.WorkerThreads