scripting: minor logging improvements

Give scripting backends a proper name, instead of calling everything
"scripts".

Log client exit directly in client.c, as that is more general (doesn't
change actual output).
This commit is contained in:
wm4
2017-01-14 16:47:53 +01:00
parent ddaab3349b
commit 191cdbd31e
4 changed files with 9 additions and 5 deletions

View File

@@ -1331,6 +1331,7 @@ static void add_functions(struct script_ctx *ctx)
}
const struct mp_scripting mp_scripting_lua = {
.name = "lua script",
.file_ext = "lua",
.load = load_lua,
};