}
else
{
- char note[NICKLEN + 10];
+ char note[NAMELEN + 10];
send_signon(NULL, target_p, nick, user, host, rb_current_time(), login);
- snprintf(note, NICKLEN + 10, "Nick: %s", target_p->name);
+ snprintf(note, sizeof(note), "Nick: %s", target_p->name);
rb_note(target_p->localClient->F, note);
}
}