diff options
author | deva <deva> | 2008-07-30 09:10:03 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-30 09:10:03 +0000 |
commit | b3b694c8dd17955aec463f50c6f526f570d8b97f (patch) | |
tree | 9dd2dd05437195128b4e410a6f024c33f849ffdb /server | |
parent | 0289404a5649e7060688af830f5f66e6da112994 (diff) |
Renamed luaprograms/luaprogram tags to scripts/script tag with a language attribute.
Diffstat (limited to 'server')
-rw-r--r-- | server/src/server.cc | 8 |
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); } |