1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 06:46:38 +02:00

Add info about script commands when trying to load a script with /plugin

This commit is contained in:
Sebastien Helleu
2009-07-10 23:44:21 +02:00
parent c9e6b1bb83
commit 9839d030a1
9 changed files with 64 additions and 9 deletions
+5
View File
@@ -187,6 +187,11 @@ plugin_load (const char *filename)
_("%sError: unable to load plugin \"%s\": %s"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
full_name, dlerror());
gui_chat_printf (NULL,
_("%sIf you're trying to load a script and not a C "
"plugin, try command to load scripts (/perl, "
"/python, ...)"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
free (full_name);
return NULL;
}