summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 9133be6ac..bf4433339 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -53,6 +53,7 @@
#include "gui/windows/textdialog.h"
#include "gui/windows/tradewindow.h"
+#include "utils/checkutils.h"
#include "utils/gettext.h"
#include "utils/timer.h"
@@ -848,6 +849,12 @@ bool InputManager::executeChatCommand(const std::string &restrict cmd,
return true;
}
}
+ else
+ {
+ reportAlways("Unknown chat command: /%s %s",
+ cmd.c_str(),
+ args.c_str());
+ }
return false;
}