Explorar o código

lua plugin: Fix getting parameters

Serj Kalichev hai 1 ano
pai
achega
c883b7838e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      plugins/lua/klish_lua.c

+ 1 - 0
plugins/lua/klish_lua.c

@@ -413,6 +413,7 @@ int klish_plugin_lua_action(kcontext_t *context)
 
 	ctx = kplugin_udata(plugin);
 	assert(ctx);
+	ctx->context = context;
 
 	script = kcontext_script(context);