Rip out redundant enable check

This commit is contained in:
Mm2PL 2023-02-14 11:58:49 +01:00
parent 7a1d28d51c
commit c4a2b5f0ce

View file

@ -41,12 +41,6 @@ void PluginController::initialize(Settings &settings, Paths &paths)
// this function exists to allow for connecting to enableAnyPlugins option // this function exists to allow for connecting to enableAnyPlugins option
void PluginController::actuallyInitialize() void PluginController::actuallyInitialize()
{ {
if (!getSettings()->pluginSupportEnabled)
{
qCDebug(chatterinoLua)
<< "Loading plugins disabled via Setting, skipping";
return;
}
this->plugins_.clear(); this->plugins_.clear();
auto dir = QDir(getPaths()->pluginsDirectory); auto dir = QDir(getPaths()->pluginsDirectory);
qCDebug(chatterinoLua) << "Loading plugins in" << dir.path(); qCDebug(chatterinoLua) << "Loading plugins in" << dir.path();