X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/907468c485f837cb8442c32509c8efec8f3f43b1..7eb930779473b7a7505d9dd98e27583a240faed6:/modules/m_pong.c diff --git a/modules/m_pong.c b/modules/m_pong.c index 7cf84d5..3d83249 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" @@ -127,7 +127,7 @@ mr_pong(struct Client *client_p, struct Client *source_p, int parc, const char * } else - sendto_one(source_p, form_str(ERR_NOORIGIN), me.name, parv[0]); + sendto_one(source_p, form_str(ERR_NOORIGIN), me.name, source_p->name); source_p->flags &= ~FLAGS_PINGSENT;