diff options
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.h')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/scripts/python/weechat-python.h b/src/plugins/scripts/python/weechat-python.h index d69b93591..00ec225d3 100644 --- a/src/plugins/scripts/python/weechat-python.h +++ b/src/plugins/scripts/python/weechat-python.h @@ -23,6 +23,8 @@ #define weechat_plugin weechat_python_plugin #define PYTHON_PLUGIN_NAME "python" +#define PYTHON_CURRENT_SCRIPT_NAME ((python_current_script) ? python_current_script->name : "-") + extern struct t_weechat_plugin *weechat_python_plugin; extern int python_quiet; |