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

From: Sönke Lambert <soelam_AT_live.de>
Date: Tue, 12 Feb 2019 15:08:13 +0000

 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

Received on Tue Feb 12 2019 - 16:08:13 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 12 2019 - 16:12:21 CET