#include "send.h"
#include "channel.h"
#include "client.h"
-#include "common.h"
-#include "config.h"
+#include "defaults.h"
#include "ircd.h"
#include "numeric.h"
#include "s_conf.h"
struct Client *target_p;
struct Client *exist_p;
time_t newts, curts;
- char note[NICKLEN + 10];
+ char note[NAMELEN + 10];
if(!(source_p->flags & FLAGS_SERVICE))
{
del_all_accepts(target_p);
- 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);
}