mirror of
https://github.com/SWG-Source/src.git
synced 2026-01-17 00:04:25 -05:00
fixes server crashing on /reloadadmin
reloading the table would crash the next time a call to getAdminLevel happened
This commit is contained in:
@@ -160,6 +160,7 @@ void AdminAccountManager::reload()
|
||||
DEBUG_FATAL(!ms_installed, ("AdminAccountManager not installed"));
|
||||
NOT_NULL(ms_dataTableName);
|
||||
DataTableManager::reload(*ms_dataTableName);
|
||||
ms_adminTable = DataTableManager::getTable (dataTableName, true);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user