aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore/Master.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2008-10-10 13:37:21 -0500
committerXTZGZoReX <none@none>2008-10-10 13:37:21 -0500
commit479fe8b767c833ae5055af31a800738ba8e597ad (patch)
tree85c0f9a54fc581085702aa0916ecdf694b0b2b1d /src/trinitycore/Master.cpp
parentded2714f89267e10b99ba725353afefe37b71645 (diff)
[svn] * Removing useless data accidentally committed.
* Applying ImpConfig patch. * Note: QUEUE_FOR_GM currently disabled as it's not compatible with the ACE patch. Anyone care to rewrite it? * Note2: This is untested - I may have done some mistakes here and there. Will try to compile now. --HG-- branch : trunk
Diffstat (limited to 'src/trinitycore/Master.cpp')
-rw-r--r--src/trinitycore/Master.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp
index de4b2c3e14f..ee42f16b87a 100644
--- a/src/trinitycore/Master.cpp
+++ b/src/trinitycore/Master.cpp
@@ -239,6 +239,11 @@ int Master::Run()
// set server online
loginDatabase.PExecute("UPDATE realmlist SET color = 0, population = 0 WHERE id = '%d'",realmID);
+ // Create table: has_logged_in_before - used for certain custom options
+ sLog.outBasic("ImpConfig: Creating/Checking table 'has_logged_in_before'...");
+ CharacterDatabase.PExecute("CREATE TABLE IF NOT EXISTS `has_logged_in_before` (`guid` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='ImpConfig check';");
+ sLog.outBasic("ImpConfig: Done...");
+
#ifdef WIN32
if (sConfig.GetBoolDefault("Console.Enable", true) && (m_ServiceStatus == -1)/* need disable console in service mode*/)
#else