summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-10 21:46:25 +0200
committerMattes D <github@xoft.cz>2015-05-10 21:46:25 +0200
commit6c53abed23011423e95a30d2ad50bbe95aca365e (patch)
treef454fbd06ecd6c06e772a9a0e3b7f786cf40e8de /src/Bindings
parentStringUtils: Fixed StringSplitWithQuotes(). (diff)
downloadcuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.gz
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.bz2
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.lz
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.xz
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.tar.zst
cuberite-6c53abed23011423e95a30d2ad50bbe95aca365e.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp
index ecb0bec45..7384f43bd 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -1750,6 +1750,8 @@ bool cPluginManager::ExecuteConsoleCommand(const AStringVector & a_Split, cComma
if (cmd == m_ConsoleCommands.end())
{
// Command not found
+ // Still notify the plugins (so that plugins such as Aliases can intercept unknown commands):
+ CallHookExecuteCommand(nullptr, a_Split, a_Command);
return false;
}