Lines 461-467
static int gotmsg(char *from, char *msg)
Link Here
|
461 |
to = newsplit(&msg); |
461 |
to = newsplit(&msg); |
462 |
fixcolon(msg); |
462 |
fixcolon(msg); |
463 |
/* Only check if flood-ctcp is active */ |
463 |
/* Only check if flood-ctcp is active */ |
464 |
strcpy(uhost, from); |
464 |
strncpy(uhost, from, UHOSTLEN); |
|
|
465 |
uhost[UHOSTLEN-1] = '\0'; |
465 |
nick = splitnick(&uhost); |
466 |
nick = splitnick(&uhost); |
466 |
if (flud_ctcp_thr && detect_avalanche(msg)) { |
467 |
if (flud_ctcp_thr && detect_avalanche(msg)) { |
467 |
if (!ignoring) { |
468 |
if (!ignoring) { |