]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_resv.c
Forgot version.c.SH for libratbox/.
[irc/rqf/shadowircd.git] / modules / m_resv.c
index 084f3f8ef0d6225132346ebebb11550b47acf0c8..92e57309c3b3389347cb07d59f06b9bb45bca222 100644 (file)
@@ -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';