]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Should use rb_strlcpy instead of strlcpy...
authorJilles Tjoelker <redacted>
Sun, 9 Nov 2008 00:05:39 +0000 (01:05 +0100)
committerJilles Tjoelker <redacted>
Sun, 9 Nov 2008 00:05:39 +0000 (01:05 +0100)
modules/m_who.c

index b5357e78a40031f9cfea629b2960a52cc552fb21..f05beca5b7c2e96ea4735eee496422db7e2006ad 100644 (file)
@@ -138,7 +138,7 @@ m_who(struct Client *client_p, struct Client *source_p, int parc, const char *pa
                        fmt.querytype = "0";
        }
 
-       strlcpy(maskcopy, parv[1], sizeof maskcopy);
+       rb_strlcpy(maskcopy, parv[1], sizeof maskcopy);
        mask = maskcopy;
 
        collapse(mask);