X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/b798359b1709af5c53b56e89d9c8453fd6844e25..907468c485f837cb8442c32509c8efec8f3f43b1:/modules/m_kline.c diff --git a/modules/m_kline.c b/modules/m_kline.c index 04a936c..b14f0c3 100644 --- a/modules/m_kline.c +++ b/modules/m_kline.c @@ -554,11 +554,11 @@ find_user_host(struct Client *source_p, const char *userhost, char *luser, char { *(hostp++) = '\0'; /* short and squat */ if(*userhost) - strlcpy(luser, userhost, USERLEN + 1); /* here is my user */ + rb_strlcpy(luser, userhost, USERLEN + 1); /* here is my user */ else strcpy(luser, "*"); if(*hostp) - strlcpy(lhost, hostp, HOSTLEN + 1); /* here is my host */ + rb_strlcpy(lhost, hostp, HOSTLEN + 1); /* here is my host */ else strcpy(lhost, "*"); } @@ -572,7 +572,7 @@ find_user_host(struct Client *source_p, const char *userhost, char *luser, char luser[0] = '*'; /* no @ found, assume its *@somehost */ luser[1] = '\0'; - strlcpy(lhost, userhost, HOSTLEN + 1); + rb_strlcpy(lhost, userhost, HOSTLEN + 1); } return 1;