Re: [hackers] [ii][PATCH] fix typo in NOTICE messages

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Tue, 12 Feb 2019 18:16:39 +0100

On Tue, Feb 12, 2019 at 03:08:13PM +0000, Sönke Lambert wrote:
> From c60ae8f108011ea7dd6d909cd4740c12fdace52d Mon Sep 17 00:00:00 2001
> From: Soenke Lambert <soelam_AT_live.de>
> Date: Tue, 12 Feb 2019 15:58:47 +0100
> Subject: [ii][PATCH] fix typo in NOTICE messages
>
> ---
>  ii.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ii.c b/ii.c
> index 6c87314..6d2bd36 100644
> --- a/ii.c
> +++ b/ii.c
> _AT_@ -645,7 +645,7 @@ proc_server_cmd(int fd, char *buf)
>                                 argv[TOK_NICKSRV], argv[TOK_ARG],
>                                 argv[TOK_TEXT] ? argv[TOK_TEXT] : "");
>         } else if (!strcmp("NOTICE", argv[TOK_CMD])) {
> -               snprintf(msg, sizeof(msg), "-!- \"%s\")",
> +               snprintf(msg, sizeof(msg), "-!- \"%s\"",
>                                 argv[TOK_TEXT] ? argv[TOK_TEXT] : "");
>         } else if (!strcmp("PRIVMSG", argv[TOK_CMD])) {
>                 snprintf(msg, sizeof(msg), "<%s> %s", argv[TOK_NICKSRV],
> --
> 2.17.1
>

Thanks, I've applied and pushed the patch.

-- 
Kind regards,
Hiltjo
Received on Tue Feb 12 2019 - 18:16:39 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 12 2019 - 18:24:22 CET