diff --git a/src/controllers/commands/CommandController.cpp b/src/controllers/commands/CommandController.cpp index a58781d4a..1af99f5c2 100644 --- a/src/controllers/commands/CommandController.cpp +++ b/src/controllers/commands/CommandController.cpp @@ -3219,6 +3219,7 @@ QString CommandController::execCommand(const QString &textNoEmoji, return text; } + #ifdef CHATTERINO_HAVE_PLUGINS bool CommandController::registerPluginCommand(const QString &commandName) {