diff --git a/src/servers/media/AddOnManager.cpp b/src/servers/media/AddOnManager.cpp index bd9fcdf6d1..2ffc55c203 100644 --- a/src/servers/media/AddOnManager.cpp +++ b/src/servers/media/AddOnManager.cpp @@ -235,8 +235,8 @@ AddOnManager::RegisterAddOns() char buffer[16]; size_t size = sizeof(buffer); - bool disableUserAddOns = _kern_get_safemode_option(B_SAFEMODE_SAFE_MODE, - buffer, &size) == B_OK + bool disableUserAddOns = _kern_get_safemode_option( + B_SAFEMODE_DISABLE_USER_ADD_ONS, buffer, &size) == B_OK && (!strcasecmp(buffer, "true") || !strcasecmp(buffer, "yes") || !strcasecmp(buffer, "on")