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

Replaced /builtin command by /command, and can now be used to launch commands with same name from different plugins

This commit is contained in:
Sebastien Helleu
2008-04-18 15:39:24 +02:00
parent 22c619040b
commit 1486429cf1
16 changed files with 578 additions and 515 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ plugin_api_command (struct t_weechat_plugin *plugin,
command2 = string_iconv_to_internal (plugin->charset, command);
if (!buffer)
buffer = gui_current_window->buffer;
input_data (buffer, (command2) ? command2 : command, 0);
input_data (buffer, (command2) ? command2 : command);
if (command2)
free (command2);
}