diff options
Diffstat (limited to 'src/plugins/scripts/script.c')
-rw-r--r-- | src/plugins/scripts/script.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/scripts/script.c b/src/plugins/scripts/script.c index b1f918f36..242132e7a 100644 --- a/src/plugins/scripts/script.c +++ b/src/plugins/scripts/script.c @@ -88,9 +88,9 @@ script_init (struct t_weechat_plugin *weechat_plugin, int (*callback_completion)(void *data, char *completion, struct t_gui_buffer *buffer, struct t_weelist *list), - int (*callback_signal_dump)(void *data, char *signal, - char *type_data, - void *signal_data), + int (*callback_signal_debug_dump)(void *data, char *signal, + char *type_data, + void *signal_data), int (*callback_load_file)(void *data, char *filename)) { char *string, *completion = "list|listfull|load|autoload|reload|unload %f"; @@ -154,8 +154,8 @@ script_init (struct t_weechat_plugin *weechat_plugin, free (string); } - /* add signal for "dump_data" */ - weechat_hook_signal ("dump_data", callback_signal_dump, NULL); + /* add signal for "debug_dump" */ + weechat_hook_signal ("debug_dump", callback_signal_debug_dump, NULL); /* autoload scripts */ script_auto_load (weechat_plugin, callback_load_file); |