summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-03-23 14:53:49 (GMT)
committer jacob1 <jfu614@gmail.com>2013-03-23 14:53:49 (GMT)
commitc50e12df28fd069933359026a527ba0c401447de (patch)
tree604808a7c01bdc4104eda5a8bcd878cc73a1bc7f /src/cat/LuaScriptInterface.cpp
parent29e2604f57b2a90a7e7f2480e9665a24c08d0c98 (diff)
downloadpowder-c50e12df28fd069933359026a527ba0c401447de.zip
powder-c50e12df28fd069933359026a527ba0c401447de.tar.gz
CFLM defusses VIBR, a few speed improvements to VIBR
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
-rw-r--r--src/cat/LuaScriptInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index 79c79a1..6f8b30d 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -2140,7 +2140,7 @@ int LuaScriptInterface::Command(std::string command)
std::string LuaScriptInterface::FormatCommand(std::string command)
{
- if(command[0] == '!')
+ if(command != "" && command[0] == '!')
{
return "!"+legacy->FormatCommand(command.substr(1));
}