X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/4016731b1cf38951bc7566e7bc3ca8ebb8f282b4..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_resv.c?ds=sidebyside diff --git a/modules/m_resv.c b/modules/m_resv.c index 9d46750c..92e57309 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';