mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Rip out redundant enable check
This commit is contained in:
parent
7a1d28d51c
commit
c4a2b5f0ce
1 changed files with 0 additions and 6 deletions
|
@ -41,12 +41,6 @@ void PluginController::initialize(Settings &settings, Paths &paths)
|
|||
// this function exists to allow for connecting to enableAnyPlugins option
|
||||
void PluginController::actuallyInitialize()
|
||||
{
|
||||
if (!getSettings()->pluginSupportEnabled)
|
||||
{
|
||||
qCDebug(chatterinoLua)
|
||||
<< "Loading plugins disabled via Setting, skipping";
|
||||
return;
|
||||
}
|
||||
this->plugins_.clear();
|
||||
auto dir = QDir(getPaths()->pluginsDirectory);
|
||||
qCDebug(chatterinoLua) << "Loading plugins in" << dir.path();
|
||||
|
|
Loading…
Reference in a new issue