summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-01-09 18:26:17 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-01-09 18:26:17 +0100
commit9f2fc59569d03d660e2108e21ae5d7b6fb7c1469 (patch)
tree794efb76225b4cc1e5e89f94d0cfc4e4e9fa79fb /src/plugins/plugin.c
parentf94b679a4a97365de29bb99ede3b2bc5c44cd93f (diff)
downloadweechat-9f2fc59569d03d660e2108e21ae5d7b6fb7c1469.zip
Partial migration of Perl plugin to new API
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 3661b4fea..6405c3da9 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -302,9 +302,9 @@ plugin_load (char *filename)
new_plugin->prefix = &plugin_api_prefix;
new_plugin->color = &plugin_api_color;
new_plugin->printf_date = &gui_chat_printf_date;
- new_plugin->log_printf = &log_printf;
new_plugin->infobar_printf = &plugin_api_infobar_printf;
new_plugin->infobar_remove = &plugin_api_infobar_remove;
+ new_plugin->log_printf = &log_printf;
new_plugin->hook_command = &hook_command;
new_plugin->hook_timer = &hook_timer;
@@ -676,15 +676,15 @@ plugin_print_log ()
ptr_plugin = ptr_plugin->next_plugin)
{
log_printf ("");
- log_printf ("[plugin (addr:0x%X)]", ptr_plugin);
+ log_printf ("[plugin (addr:0x%x)]", ptr_plugin);
log_printf (" filename . . . . . . . : '%s'", ptr_plugin->filename);
- log_printf (" handle . . . . . . . . : 0x%X", ptr_plugin->handle);
+ log_printf (" handle . . . . . . . . : 0x%x", ptr_plugin->handle);
log_printf (" name . . . . . . . . . : '%s'", ptr_plugin->name);
log_printf (" description. . . . . . : '%s'", ptr_plugin->description);
log_printf (" version. . . . . . . . : '%s'", ptr_plugin->version);
log_printf (" charset. . . . . . . . : '%s'", ptr_plugin->charset);
- log_printf (" prev_plugin. . . . . . : 0x%X", ptr_plugin->prev_plugin);
- log_printf (" next_plugin. . . . . . : 0x%X", ptr_plugin->next_plugin);
+ log_printf (" prev_plugin. . . . . . : 0x%x", ptr_plugin->prev_plugin);
+ log_printf (" next_plugin. . . . . . : 0x%x", ptr_plugin->next_plugin);
}
plugin_infolist_print_log ();