Add Server revision to realmd.uptime table
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -1600,8 +1600,8 @@ void World::SetInitialWorldSettings()
|
||||
sprintf( isoDate, "%04d-%02d-%02d %02d:%02d:%02d",
|
||||
local.tm_year+1900, local.tm_mon+1, local.tm_mday, local.tm_hour, local.tm_min, local.tm_sec);
|
||||
|
||||
loginDatabase.PExecute("INSERT INTO uptime (realmid, starttime, startstring, uptime) VALUES('%u', " UI64FMTD ", '%s', 0)",
|
||||
realmID, uint64(m_startTime), isoDate);
|
||||
loginDatabase.PExecute("INSERT INTO uptime (realmid, starttime, startstring, uptime, revision) VALUES('%u', " UI64FMTD ", '%s', 0, '%s')",
|
||||
realmID, uint64(m_startTime), isoDate, _FULLVERSION);
|
||||
|
||||
static uint32 abtimer = 0;
|
||||
abtimer = sConfig.GetIntDefault("AutoBroadcast.Timer", 60000);
|
||||
|
||||
Reference in New Issue
Block a user