X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/e4c7305103c3293c0e87dd1412c1e9f668bee19c..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_resv.c diff --git a/modules/m_resv.c b/modules/m_resv.c index 084f3f8e..92e57309 100644 --- a/modules/m_resv.c +++ b/modules/m_resv.c @@ -36,8 +36,7 @@ #include "s_conf.h" #include "s_newconf.h" #include "hash.h" -#include "s_log.h" -#include "sprintf_irc.h" +#include "logger.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';