parent
8368566044
commit
3aa4e02720
1 changed files with 1 additions and 1 deletions
|
|
@ -2838,7 +2838,7 @@ std::optional<std::string> CConfigManager::handlePermission(const std::string& c
|
|||
if (mode == PERMISSION_RULE_ALLOW_MODE_UNKNOWN)
|
||||
return "unknown permission allow mode";
|
||||
|
||||
if (m_isFirstLaunch)
|
||||
if (m_isFirstLaunch && g_pDynamicPermissionManager)
|
||||
g_pDynamicPermissionManager->addConfigPermissionRule(std::string(data[0]), type, mode);
|
||||
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue