about summary refs log tree commit diff stats
path: root/src/plugins/python_plugins.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-04-10 01:15:11 +0100
committerJames Booth <boothj5@gmail.com>2016-04-10 01:15:11 +0100
commit03ab8baf4d5b1ad5474e571b66d0572624ef1c7a (patch)
tree04c0dcdee6f04064cd61d31cabdeec6a2adad003 /src/plugins/python_plugins.c
parent21aa08fdb13a62fbf8f13b445813741da1b60903 (diff)
downloadprofani-tty-03ab8baf4d5b1ad5474e571b66d0572624ef1c7a.tar.gz
Added /plugins load command
Diffstat (limited to 'src/plugins/python_plugins.c')
-rw-r--r--src/plugins/python_plugins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python_plugins.c b/src/plugins/python_plugins.c
index 90ff36ed..a73cc15b 100644
--- a/src/plugins/python_plugins.c
+++ b/src/plugins/python_plugins.c
@@ -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;