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

Migration of Ruby plugin to new API, new functions to dump script plugin data to WeeChat log file

This commit is contained in:
Sebastien Helleu
2008-01-13 13:22:22 +01:00
parent c17a4d5c76
commit 05e1e4715c
19 changed files with 4172 additions and 3007 deletions
+3
View File
@@ -453,6 +453,9 @@ script_api_buffer_new (struct t_weechat_plugin *weechat_plugin,
struct t_script_callback *new_script_callback;
struct t_gui_buffer *new_buffer;
if (!function || !function[0])
return weechat_buffer_new (category, name, NULL, NULL);
new_script_callback = script_callback_alloc ();
if (!new_script_callback)
return NULL;