From 45d4fa580114e7379a1140fb9944d43ffb9522ae Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Tue, 30 Oct 2012 07:40:37 +0100 Subject: Rebranding for XCHAT_EAT_* --- plugins/xdcc/xdcc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/xdcc/xdcc.c') diff --git a/plugins/xdcc/xdcc.c b/plugins/xdcc/xdcc.c index d26eb43b..9ccfebfe 100644 --- a/plugins/xdcc/xdcc.c +++ b/plugins/xdcc/xdcc.c @@ -158,13 +158,13 @@ static int xdcc_command(char *word[], char *word_eol[], void *userdata) else xchat_printf(ph, "Cannot read %s\n", word[4]); } - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } if(strcasecmp(word[2], "DEL") == 0) { xdcc_del(word[3]); - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } if(strcasecmp(word[2], "SLOTS") == 0) @@ -177,27 +177,27 @@ static int xdcc_command(char *word[], char *word_eol[], void *userdata) { xchat_printf(ph, "XDCC slots: %d\n", xdcc_slots); } - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } if(strcasecmp(word[2], "ON") == 0) { xdcc_on = TRUE; xchat_print(ph, "XDCC now ON\n"); - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } if(strcasecmp(word[2], "LIST") == 0) { xdcc_list("", "", "", "echo"); - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } if(strcasecmp(word[2], "OFF") == 0) { xdcc_on = FALSE; xchat_print(ph, "XDCC now OFF\n"); - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } xchat_print(ph, "Syntax: XDCC ADD \n" @@ -207,7 +207,7 @@ static int xdcc_command(char *word[], char *word_eol[], void *userdata) " XDCC ON\n" " XDCC OFF\n\n"); - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } static void xdcc_remote(char *from, char *msg) @@ -243,7 +243,7 @@ static int ctcp_cb(char *word[], void *userdata) if(strncasecmp(msg, "XDCC ", 5) == 0) xdcc_remote(from, msg + 5); - return XCHAT_EAT_NONE; + return HEXCHAT_EAT_NONE; } static void xdcc_save(void) -- cgit 1.4.1