diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 07:40:37 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 07:40:37 +0100 |
commit | 45d4fa580114e7379a1140fb9944d43ffb9522ae (patch) | |
tree | b3ef37a2d374be07c365babe6ab6521c2d964be7 /share | |
parent | a5ab455b3414226ef03869eab9e7eeb01142a916 (diff) |
Rebranding for XCHAT_EAT_*
Diffstat (limited to 'share')
-rw-r--r-- | share/doc/plugins.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/share/doc/plugins.md b/share/doc/plugins.md index e49fe643..dafeb559 100644 --- a/share/doc/plugins.md +++ b/share/doc/plugins.md @@ -51,7 +51,7 @@ join_cb (char *word[], void *userdata) } /* word[1] is the nickname, as in the Settings->Advanced->TextEvents window in xchat */ - return XCHAT_EAT_NONE; /* don't eat this event, HexChat needs to see it! */ + return HEXCHAT_EAT_NONE; /* don't eat this event, HexChat needs to see it! */ } static int @@ -68,7 +68,7 @@ autooptoggle_cb (char *word[], char *word_eol[], void *userdata) xchat_print (ph, "AutoOping now disabled!\n"); } - return XCHAT_EAT_ALL; /* eat this command so HexChat and other plugins can't process it */ + return HEXCHAT_EAT_ALL; /* eat this command so HexChat and other plugins can't process it */ } void @@ -407,7 +407,7 @@ ctcp_cb (char *word[], char *word_eol[], void *userdata) get_file_name (nick, word[2]); } - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } static void @@ -495,11 +495,11 @@ onotice_cb (char *word[], char *word_eol[], void *userdata) if (word_eol[2][0] == 0) { xchat_printf (ph, "Second arg must be the message!\n"); - return XCHAT_EAT_ALL; + return HEXCHAT_EAT_ALL; } xchat_commandf (ph, "NOTICE @%s :%s", xchat_get_info (ph, "channel"), word_eol[2]); - return XCHAT_EAT_ALL; + return HEXCHAT_EAT_ALL; } xchat_hook_command (ph, "ONOTICE", HEXCHAT_PRI_NORM, onotice_cb, "Usage: ONOTICE <message> Sends a notice to all ops", NULL); @@ -569,7 +569,7 @@ static int youpart_cb (char *word[], void *userdata) { xchat_printf (ph, "You have left channel %s\n", word[3]); - return XCHAT_EAT_XCHAT; /* dont let HexChat do its normal printing */ + return HEXCHAT_EAT_XCHAT; /* dont let HexChat do its normal printing */ } xchat_hook_print (ph, "You Part", HEXCHAT_PRI_NORM, youpart_cb, NULL); @@ -601,7 +601,7 @@ static int kick_cb (char *word[], char *word_eol[], void *userdata) { xchat_printf (ph, "%s was kicked from %s (reason=%s)\n", word[4], word[3], word_eol[5]); - return XCHAT_EAT_NONE; /* don't eat this event, let other plugins and HexChat see it too */ + return HEXCHAT_EAT_NONE; /* don't eat this event, let other plugins and HexChat see it too */ } xchat_hook_server (ph, "KICK", HEXCHAT_PRI_NORM, kick_cb, NULL); @@ -639,7 +639,7 @@ stop_cb (char *word[], char *word_eol[], void *userdata) xchat_print (ph, "Timeout removed!\n"); } - return XCHAT_EAT_ALL; + return HEXCHAT_EAT_ALL; } static int @@ -1076,7 +1076,7 @@ saveint_cb (char *word[], char *word_eol[], void *user_data) xchat_printf (ph, "Invalid input!\n"); } - return XCHAT_EAT_XCHAT; + return HEXCHAT_EAT_XCHAT; } </pre> |