X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/54656d7650e3559c37fc3630bd73b3cbe443f05f..0bd6cfbe28d7871dc8b2f5270c9cfb76fb705ef8:/modules/m_whois.c diff --git a/modules/m_whois.c b/modules/m_whois.c index f4fb885..2519971 100644 --- a/modules/m_whois.c +++ b/modules/m_whois.c @@ -326,6 +326,11 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy) form_str(RPL_WHOISCERTFP), target_p->name, target_p->certfp); + if(IsSetBot(target_p)) + sendto_one_numeric(source_p, RPL_WHOISBOT, + form_str(RPL_WHOISBOT), + target_p->name); + if(MyClient(target_p)) { if (IsDynSpoof(target_p) && (IsOper(source_p) || source_p == target_p))