From a5ab455b3414226ef03869eab9e7eeb01142a916 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Tue, 30 Oct 2012 07:31:33 +0100 Subject: [PATCH] Forgot this one --- src/common/plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/plugin.c b/src/common/plugin.c index 2e30b955..b2b79386 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -712,11 +712,11 @@ plugin_fd_cb (GIOChannel *source, GIOCondition condition, xchat_hook *hook) typedef int (xchat_fd_cb2) (int fd, int flags, void *user_data, GIOChannel *); if (condition & G_IO_IN) - flags |= XCHAT_FD_READ; + flags |= HEXCHAT_FD_READ; if (condition & G_IO_OUT) - flags |= XCHAT_FD_WRITE; + flags |= HEXCHAT_FD_WRITE; if (condition & G_IO_PRI) - flags |= XCHAT_FD_EXCEPTION; + flags |= HEXCHAT_FD_EXCEPTION; ret = ((xchat_fd_cb2 *)hook->callback) (hook->pri, flags, hook->userdata, source);