]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_cap.c
Remove obsolete comment.
[irc/rqf/shadowircd.git] / modules / m_cap.c
index 5b696250131461cbdabd54eb41a5f11f6291f81b..9fa94d37c9449e1446029bf534a74e19d961af05 100644 (file)
@@ -33,7 +33,7 @@
 #include "stdinc.h"
 #include "class.h"
 #include "client.h"
-#include "irc_string.h"
+#include "match.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "msg.h"
@@ -116,7 +116,7 @@ clicap_find(const char *data, int *negate, int *finished)
 
        if(data)
        {
-               strlcpy(buf, data, sizeof(buf));
+               rb_strlcpy(buf, data, sizeof(buf));
                p = buf;
        }
 
@@ -322,7 +322,7 @@ cap_end(struct Client *source_p, const char *arg)
        if(source_p->name[0] && source_p->user)
        {
                char buf[USERLEN+1];
-               strlcpy(buf, source_p->username, sizeof(buf));
+               rb_strlcpy(buf, source_p->username, sizeof(buf));
                register_local_user(source_p, source_p, buf);
        }
 }