ii

irc it, simple FIFO based irc client
git clone git://git.suckless.org/ii
Log | Files | Refs | README | LICENSE

commit dfecb5c0f4eda76cbad3319a2e76244e76c566be
parent b25423f765690d34e4b4eb1e90a27f42d8d41035
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 12 Feb 2019 18:13:24 +0100

fix typo in NOTICE messages

Diffstat:
Mii.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ii.c b/ii.c @@ -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],