diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-05-05 10:11:50 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-05-05 10:11:50 +0200 |
commit | a0a28ac3d95044599896ecdfb63dbf441ab94105 (patch) | |
tree | 6c269f16d334358439c240ce58c5192127ecca7c /src/plugins/plugin.c | |
parent | 5947ba03649b1be46d1c150e36a86fe1a70fb893 (diff) | |
download | weechat-a0a28ac3d95044599896ecdfb63dbf441ab94105.zip |
Add message for old/obsolete plugins
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r-- | src/plugins/plugin.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c index d5d751f94..06428efad 100644 --- a/src/plugins/plugin.c +++ b/src/plugins/plugin.c @@ -216,6 +216,11 @@ plugin_load (const char *filename) gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], "weechat_plugin_api_version", full_name); + gui_chat_printf (NULL, + _("%sIf plugin \"%s\" is old/obsolete, you can " + "delete this file."), + gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], + name); dlclose (handle); free (full_name); return NULL; @@ -229,6 +234,11 @@ plugin_load (const char *filename) full_name, WEECHAT_PLUGIN_API_VERSION, api_version); + gui_chat_printf (NULL, + _("%sIf plugin \"%s\" is old/obsolete, you can " + "delete this file."), + gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], + name); dlclose (handle); free (full_name); return NULL; |