summaryrefslogtreecommitdiff
path: root/src/plugins/fifo/fifo.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-09 11:47:34 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-09 11:47:34 +0100
commit8b3980f508972313c89a7fcb5a96fed3dccff7cc (patch)
treef682355eef676f21df31c43488c55e618b199529 /src/plugins/fifo/fifo.c
parent30ab415dc0024bd0e1fdb0b3a72dc8ec8f4c96c5 (diff)
downloadweechat-8b3980f508972313c89a7fcb5a96fed3dccff7cc.zip
Changes in IRC plugin to use new API
Diffstat (limited to 'src/plugins/fifo/fifo.c')
-rw-r--r--src/plugins/fifo/fifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fifo/fifo.c b/src/plugins/fifo/fifo.c
index fcb74a857..95fc05ed2 100644
--- a/src/plugins/fifo/fifo.c
+++ b/src/plugins/fifo/fifo.c
@@ -336,9 +336,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
fifo_create ();
- fifo_fd_hook = weechat_hook_fd (fifo_fd, 1, 0, 0, fifo_read, NULL);
+ fifo_fd_hook = weechat_hook_fd (fifo_fd, 1, 0, 0, &fifo_read, NULL);
- weechat_hook_config ("plugin", "fifo.fifo", fifo_config_cb, NULL);
+ weechat_hook_config ("plugin", "fifo.fifo", &fifo_config_cb, NULL);
return PLUGIN_RC_SUCCESS;
}