awesome.startup_errors: Never emit debug::index::miss
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
88facb7f57
commit
e39ed59797
4
luaa.c
4
luaa.c
|
@ -242,8 +242,10 @@ luaA_awesome_index(lua_State *L)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(A_STREQ(buf, "startup_errors") && globalconf.startup_errors.len != 0)
|
if(A_STREQ(buf, "startup_errors"))
|
||||||
{
|
{
|
||||||
|
if (globalconf.startup_errors.len == 0)
|
||||||
|
return 0;
|
||||||
lua_pushstring(L, globalconf.startup_errors.s);
|
lua_pushstring(L, globalconf.startup_errors.s);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue