summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/datamodel/lua
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-04-28 11:00:10 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-04-28 11:00:10 (GMT)
commit4750623a631e72c7a8be8d4172b33c83f20113a6 (patch)
tree64d626708595d3fe5438d75af1616870db724800 /src/uscxml/plugins/datamodel/lua
parent454fa66e503e41465cba75a6bea00463a93a20ef (diff)
downloaduscxml-4750623a631e72c7a8be8d4172b33c83f20113a6.zip
uscxml-4750623a631e72c7a8be8d4172b33c83f20113a6.tar.gz
uscxml-4750623a631e72c7a8be8d4172b33c83f20113a6.tar.bz2
Fixed issue 64 and beautified code again
Diffstat (limited to 'src/uscxml/plugins/datamodel/lua')
-rw-r--r--src/uscxml/plugins/datamodel/lua/LuaDataModel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/uscxml/plugins/datamodel/lua/LuaDataModel.cpp b/src/uscxml/plugins/datamodel/lua/LuaDataModel.cpp
index 77f4ef3..f6cb570 100644
--- a/src/uscxml/plugins/datamodel/lua/LuaDataModel.cpp
+++ b/src/uscxml/plugins/datamodel/lua/LuaDataModel.cpp
@@ -267,11 +267,11 @@ void LuaDataModel::setEvent(const Event& event) {
ERROR_EXECUTION_THROW(e.what());
}
} else {
- // some error events have a dom node attached - do not throw for them
- // issue65
- if (!nameMatch("error.*", event.name)) {
- ERROR_EXECUTION_THROW("No DOM support in Lua datamodel");
- }
+ // some error events have a dom node attached - do not throw for them
+ // issue65
+ if (!nameMatch("error.*", event.name)) {
+ ERROR_EXECUTION_THROW("No DOM support in Lua datamodel");
+ }
}
} else if (event.content.length() > 0) {
// _event.data is a string or JSON