X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/d3455e2c7e2f9040e1b7628d9cf52b26a24dcefc..df22ecbf7794404ec7bfaff0475ae52704a0ad98:/modules/m_resv.c diff --git a/modules/m_resv.c b/modules/m_resv.c index 9d46750..92e5730 100644 --- a/modules/m_resv.c +++ b/modules/m_resv.c @@ -37,7 +37,6 @@ #include "s_newconf.h" #include "hash.h" #include "logger.h" -#include "sprintf_irc.h" static int mo_resv(struct Client *, struct Client *, int, const char **); static int ms_resv(struct Client *, struct Client *, int, const char **); @@ -577,7 +576,7 @@ remove_resv_from_file(struct Client *source_p, const char *name) break; } - strlcpy(buff, buf, sizeof(buff)); + rb_strlcpy(buff, buf, sizeof(buff)); if((p = strchr(buff, '\n')) != NULL) *p = '\0';