diff --git a/source/dcc.c b/source/dcc.c index 5c0c5d4..2f85629 100644 --- a/source/dcc.c +++ b/source/dcc.c @@ -1031,7 +1031,7 @@ char thing = 0; if (!strcmp(cmd, "PRIVMSG")) strlcpy(tmp, "CTCP_MESSAGE ", sizeof tmp); else - strmcpy(tmp, "CTCP_REPLY ", sizeof tmp); + strlcpy(tmp, "CTCP_REPLY ", sizeof tmp); } strmcat(tmp, text, n->blocksize-3);