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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 35272f6e8..8b5cb97e2 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -920,7 +920,7 @@ void InputManager::addChatCommands(std::list<std::string> &arr)
FOR_EACH (StringVectCIter, it, tokens)
{
cmd = std::string("/").append(*it);
- if (ad.useArgs)
+ if (ad.useArgs == UseArgs_true)
cmd.append(" ");
arr.push_back(cmd);
}