X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/9f6bbe3cf9c786c5089bfd605315aed5268e8974..3e6a6891a1f6c2eee8390b1663bfdf7cf1c5f441:/modules/m_pong.c diff --git a/modules/m_pong.c b/modules/m_pong.c index 82ce37c..e5fb98e 100644 --- a/modules/m_pong.c +++ b/modules/m_pong.c @@ -34,7 +34,7 @@ #include "s_conf.h" #include "send.h" #include "channel.h" -#include "irc_string.h" +#include "match.h" #include "msg.h" #include "parse.h" #include "hash.h" @@ -111,7 +111,7 @@ mr_pong(struct Client *client_p, struct Client *source_p, int parc, const char * if(source_p->localClient->random_ping == incoming_ping) { char buf[USERLEN + 1]; - strlcpy(buf, source_p->username, sizeof(buf)); + rb_strlcpy(buf, source_p->username, sizeof(buf)); source_p->flags |= FLAGS_PING_COOKIE; register_local_user(client_p, source_p, buf); }