summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-05-09 10:08:18 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-05-09 10:08:18 +0200
commit3505324096051e14d292c17e96946358e973311f (patch)
tree490e2ece0d876004c423eef418b23413a031b1e7 /doc/en
parent7f1aeae5fb7face754203edcc6190a0ff29c31ee (diff)
downloadweechat-3505324096051e14d292c17e96946358e973311f.zip
api: use buffer pointer in argument "modifier_data" sent to weechat_print modifier callback (closes #42)
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_plugin_api.en.adoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index a0daa9361..ed4acb541 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -11518,7 +11518,7 @@ List of modifiers used by WeeChat and plugins:
New content of command line sent to buffer.
| [[hook_modifier_weechat_print]] weechat_print |
- plugin + ";" + buffer_name + ";" + tags |
+ buffer pointer ("0x123...") + ";" + tags ^(3)^ |
Message printed. |
New message printed. +
For more information on the hooks called when a line is printed, see
@@ -11527,7 +11527,8 @@ List of modifiers used by WeeChat and plugins:
[NOTE]
^(1)^ _xxx_ is IRC command name. +
-^(2)^ _yyy_ is bar name.
+^(2)^ _yyy_ is bar name. +
+^(3)^ With WeeChat ≤ 2.8, the format was: plugin + ";" + buffer_name + ";" + tags.
C example: