summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-27 09:48:16 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-06-27 09:48:16 +0200
commitff8beb1918816ccd1c15954f7f564ab02e9cfb9f (patch)
tree30e74538429a15c36907f9266ce173de55286b93 /doc/it
parent59853d9b303991ac4169d36c23880dcca7b90acf (diff)
downloadweechat-ff8beb1918816ccd1c15954f7f564ab02e9cfb9f.zip
irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657)
This is useful to implement IRC protocol extensions which introduce new commands.
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_plugin_api.it.adoc8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 5b2db4819..a070798f9 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -10452,7 +10452,9 @@ List of signals sent by WeeChat and plugins:
Messaggio IRC dal server (prima di essere utilizzato
dal plugin irc, il segnale viene inviato solo se il
messaggio *non* viene ignorato). +
- Since version 2.2, the whole IRC message is sent, including tags.
+ Since version 2.2, the whole IRC message is sent, including tags. +
+ If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the IRC message
+ is immediately destroyed and not processed by WeeChat.
// TRANSLATION MISSING
| irc |
@@ -10471,7 +10473,9 @@ List of signals sent by WeeChat and plugins:
Messaggio IRC dal server (prima di essere utilizzato
dal plugin irc, il segnale viene inviato anche se il
messaggio è stato ignorato). +
- Since version 2.2, the whole IRC message is sent, including tags.
+ Since version 2.2, the whole IRC message is sent, including tags. +
+ If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the IRC message
+ is immediately destroyed and not processed by WeeChat.
// TRANSLATION MISSING
| irc |