mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 12:36:22 +00:00
Added /plugins load command
This commit is contained in:
@@ -95,7 +95,7 @@ python_plugin_create(const char *const filename)
|
||||
python_check_error();
|
||||
if (p_module) {
|
||||
ProfPlugin *plugin = malloc(sizeof(ProfPlugin));
|
||||
plugin->name = strdup(module_name);
|
||||
plugin->name = strdup(filename);
|
||||
plugin->lang = LANG_PYTHON;
|
||||
plugin->module = p_module;
|
||||
plugin->init_func = python_init_hook;
|
||||
|
||||
Reference in New Issue
Block a user