mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[8793] Don't do operations through singleton if already in singleton context.
* Also, some minor things: - Remove duplicate sWorldLog define. - Add sRealmList macro for RealmList::Instance(). - Use sLog macro in scripting log functions.
This commit is contained in:
parent
146657885d
commit
b3f3ffa885
11 changed files with 32 additions and 32 deletions
|
|
@ -33,7 +33,7 @@ RealmList::RealmList( ) : m_UpdateInterval(0), m_NextUpdateTime(time(NULL))
|
|||
{
|
||||
}
|
||||
|
||||
RealmList& RealmList::Instance()
|
||||
RealmList& sRealmList
|
||||
{
|
||||
static RealmList realmlist;
|
||||
return realmlist;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue