X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/dd9be678f1c9a8213a314f0a4b50de9f3710cee0..9879cd59a64a7801510d3573209fc4949ee62766:/src/channel.c diff --git a/src/channel.c b/src/channel.c index e372a2f..d03744e 100644 --- a/src/channel.c +++ b/src/channel.c @@ -40,7 +40,7 @@ #include "whowas.h" #include "s_conf.h" /* ConfigFileEntry, ConfigChannel */ #include "s_newconf.h" -#include "s_log.h" +#include "logger.h" extern rb_dlink_list global_channel_list; @@ -1068,8 +1068,8 @@ set_channel_topic(struct Channel *chptr, const char *topic, const char *topic_in { if(chptr->topic == NULL) allocate_topic(chptr); - strlcpy(chptr->topic, topic, TOPICLEN + 1); - strlcpy(chptr->topic_info, topic_info, USERHOST_REPLYLEN); + rb_strlcpy(chptr->topic, topic, TOPICLEN + 1); + rb_strlcpy(chptr->topic_info, topic_info, USERHOST_REPLYLEN); chptr->topic_time = topicts; } else @@ -1160,8 +1160,8 @@ channel_modes(struct Channel *chptr, struct Client *client_p) *mbuf = '\0'; - strlcpy(final, buf1, sizeof final); - strlcat(final, buf2, sizeof final); + rb_strlcpy(final, buf1, sizeof final); + rb_strlcat(final, buf2, sizeof final); return final; }