mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
rmodifier: fix size used in a snprintf
This commit is contained in:
@@ -240,7 +240,7 @@ rmodifier_hook_modifiers (struct t_rmodifier *rmodifier)
|
||||
* we use a high priority here, so that other modifiers
|
||||
* (from other plugins) will be called after this one
|
||||
*/
|
||||
snprintf (str_modifier, sizeof (str_modifier) - 1,
|
||||
snprintf (str_modifier, sizeof (str_modifier),
|
||||
"5000|%s", argv[i]);
|
||||
rmodifier->hooks[i] = weechat_hook_modifier (str_modifier,
|
||||
&rmodifier_modifier_cb,
|
||||
|
||||
Reference in New Issue
Block a user