Skip to content

Commit

Permalink
fix: check state when completing commands (#5401)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Jun 19, 2024
1 parent b83d8ec commit 052dbd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Bugfix: Fixed restricted users usernames not being clickable. (#5405)
- Bugfix: Fixed a crash that could occur when logging was enabled in IRC servers that were removed. (#5419)
- Bugfix: Fixed message history occasionally not loading after a sleep. (#5457)
- Bugfix: Fixed a crash when tab completing while having an invalid plugin loaded. (#5401)
- Dev: Update Windows build from Qt 6.5.0 to Qt 6.7.1. (#5420)
- Dev: Update vcpkg build Qt from 6.5.0 to 6.7.0, boost from 1.83.0 to 1.85.0, openssl from 3.1.3 to 3.3.0. (#5422)
- Dev: Unsingletonize `ISoundController`. (#5462)
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/plugins/PluginController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ std::pair<bool, QStringList> PluginController::updateCustomCompletions(

for (const auto &[name, pl] : this->plugins())
{
if (!pl->error().isNull())
if (!pl->error().isNull() || pl->state_ == nullptr)
{
continue;
}
Expand Down

0 comments on commit 052dbd7

Please sign in to comment.