mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-03 03:50:40 +00:00
[Code] PetitionList Global to Singleton Cleanup (#4944)
* [Code] PetitionList Global to Singleton Cleanup * Update worldserver.cpp * Update worldserver.cpp
This commit is contained in:
+1
-2
@@ -86,7 +86,6 @@ extern Zone* zone;
|
||||
extern volatile bool is_zone_loaded;
|
||||
extern WorldServer worldserver;
|
||||
extern uint32 numclients;
|
||||
extern PetitionList petition_list;
|
||||
|
||||
void UpdateWindowTitle(char* iNewTitle);
|
||||
|
||||
@@ -2233,7 +2232,7 @@ void Client::UpdateAdmin(bool from_database) {
|
||||
|
||||
if (m_pp.gm) {
|
||||
LogInfo("[{}] - [{}] is a GM", __FUNCTION__ , GetName());
|
||||
petition_list.UpdateGMQueue();
|
||||
PetitionList::Instance()->UpdateGMQueue();
|
||||
}
|
||||
|
||||
UpdateWho();
|
||||
|
||||
Reference in New Issue
Block a user