X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/9f6bbe3cf9c786c5089bfd605315aed5268e8974..d25c6eb1b223d1a0993dde9a28c97ef95e54bceb:/src/whowas.c diff --git a/src/whowas.c b/src/whowas.c index 4e31df7..9d910a0 100644 --- a/src/whowas.c +++ b/src/whowas.c @@ -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);