output-lua: sync variable name with yaml

'script-dir' was used in the code but we had 'scripts-dir' in the
configuration file. This patch fixes it to 'scripts-dir'.
pull/1523/head
Eric Leblond 11 years ago committed by Victor Julien
parent ae23144b67
commit be07620a60

@ -692,7 +692,7 @@ static void LogLuaMasterFree(OutputCtx *oc) {
*/
static OutputCtx *OutputLuaLogInit(ConfNode *conf)
{
const char *dir = ConfNodeLookupChildValue(conf, "script-dir");
const char *dir = ConfNodeLookupChildValue(conf, "scripts-dir");
if (dir == NULL)
dir = "";

Loading…
Cancel
Save