diff --git a/src/plugins/rmodifier/rmodifier.c b/src/plugins/rmodifier/rmodifier.c index ac3250e23..9d65bfd59 100644 --- a/src/plugins/rmodifier/rmodifier.c +++ b/src/plugins/rmodifier/rmodifier.c @@ -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,