mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
[Code] PlayerEventLogs Global to Singleton Cleanup (#4928)
* [Code] PlayerEventLogs Global to Singleton Cleanup * Fix --------- Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
+1
-2
@@ -46,7 +46,6 @@ ChatChannelList *ChannelList;
|
||||
Clientlist *g_Clientlist;
|
||||
UCSDatabase database;
|
||||
WorldServer *worldserver = nullptr;
|
||||
PlayerEventLogs player_event_logs;
|
||||
|
||||
const ucsconfig *Config;
|
||||
|
||||
@@ -141,7 +140,7 @@ int main() {
|
||||
->LoadLogDatabaseSettings()
|
||||
->StartFileLogs();
|
||||
|
||||
player_event_logs.SetDatabase(&database)->Init();
|
||||
PlayerEventLogs::Instance()->SetDatabase(&database)->Init();
|
||||
|
||||
char tmp[64];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user