diff options
Diffstat (limited to 'doc/sr')
-rw-r--r-- | doc/sr/weechat_plugin_api.sr.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index b1d8cdb37..391c12122 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -10079,7 +10079,7 @@ def hook_print(buffer: str, tags: str, message: str, strip_colors: int, callback # пример def my_print_cb(data: str, buffer: str, date: str, tags: str, displayed: int, highlight: int, prefix: str, message: str) -> int: - if int(highlight): + if highlight: # ... return weechat.WEECHAT_RC_OK |