]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/whowas.c
Fix a typo in configure (glad it was only a minor typo in the help text)
[irc/rqf/shadowircd.git] / src / whowas.c
index 4e31df7b51d3fbe252b467c07e3ec9a06ee188a8..9d910a01da7e1d09947c603d793d5955962b38b8 100644 (file)
@@ -30,7 +30,7 @@
 #include "client.h"
 #include "common.h"
 #include "hash.h"
-#include "irc_string.h"
+#include "match.h"
 #include "ircd.h"
 #include "ircd_defs.h"
 #include "numeric.h"
@@ -77,7 +77,7 @@ void add_history(struct Client *client_p, int online)
         * NOTE: strcpy ok here, the sizes in the client struct MUST
         * match the sizes in the whowas struct
         */
-       strlcpy(who->name, client_p->name, sizeof(who->name));
+       rb_strlcpy(who->name, client_p->name, sizeof(who->name));
        strcpy(who->username, client_p->username);
        strcpy(who->hostname, client_p->host);
        strcpy(who->realname, client_p->info);