summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/server.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index 54a2616..20fd856 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -181,16 +181,16 @@ static void connection(TCPSocket &socket)
// Handle lua programs
if(m->luaprograms.size()) {
- answer += " <luaprograms>\n";
+ answer += " <scripts>\n";
std::vector< LUAProgram >::iterator lpi = m->luaprograms.begin();
while(lpi != m->luaprograms.end()) {
- answer += " <luaprogram name=\"" + lpi->attributes["name"] + "\">\n";
+ answer += " <script language=\"lua\" name=\"" + lpi->attributes["name"] + "\">\n";
answer += xml_encode(lpi->attributes["lua"]);
- answer += "\n </luaprogram>\n";
+ answer += "\n </script>\n";
lpi++;
}
- answer += " </luaprograms>\n";
+ answer += " </scripts>\n";
}
answer += widgetgenerator(*m, lqm, db);
}