]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fixed this use of isEmpty too.
authortcely <tcely@users.noreply.github.com>
Tue, 1 Aug 2017 03:39:41 +0000 (23:39 -0400)
committertcely <tcely@users.noreply.github.com>
Thu, 24 May 2018 15:32:44 +0000 (11:32 -0400)
modules/luabackend/reload.cc

index 8542856938d55e29e4dac0edf90924670f39b7af..45c4931f4c9f8c423d893aed242afe16e32be7cb 100644 (file)
@@ -41,7 +41,7 @@ void LUABackend::get_lua_function(lua_State *lua, const char *name, int *functio
     f.append(name);
     
     string arg = "";
-    if (!::arg().isEmpty(LUABACKEND_PREFIX+"-"+f))
+    if (!::arg().isEmpty(string(LUABACKEND_PREFIX)+"-"+f))
         arg = getArg(f);
 
     lua_getglobal(lua, arg == "" ? name : arg.c_str());