summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-xclasses/pluginhost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index 1159e8ed1..9e3cf1ba1 100755
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -588,7 +588,7 @@ class PluginHost {
function lookup_command(string $command) {
$command = "-" . strtolower($command);
- if (array_key_exists($command, $this->commands) && is_array($this->commands[$command])) {
+ if (array_key_exists($command, $this->commands)) {
return $this->commands[$command]["class"];
} else {
return false;