}
if (rup==target)
- flagmask|=(QUFLAG_OPER | QUFLAG_DEV | QUFLAG_HELPER |
- QUFLAG_ADMIN | QUFLAG_INFO | QUFLAG_NOTICE | QUFLAG_STAFF);
+ flagmask|=(QUFLAG_OPER | QUFLAG_DEV | QUFLAG_HELPER | QUFLAG_ADMIN |
+ QUFLAG_INFO | QUFLAG_NOTICE | QUFLAG_STAFF | QUFLAG_ACHIEVEMENTS);
if (flagmask & target->flags)
chanservstdmessage(sender, QM_WHOIS_FLAGS, printflagsornone(flagmask & target->flags, ruflags));
/* Commenting out language until we implement some - splidge
chanservstdmessage(sender, QM_WHOIS_USERLANG, cslanguages[target->languageid] ?
cslanguages[target->languageid]->name->content : "(unknown)"); */
- chanservstdmessage(sender, QM_WHOIS_LASTUSERHOST, target->lastuserhost->content);
+ if(rup==target || cs_privcheck(QPRIV_VIEWREALHOST, sender)) {
+ chanservstdmessage(sender, QM_WHOIS_LASTUSERHOST, target->lastuserhost->content);
+ }
}
if (target->email && (rup==target || cs_privcheck(QPRIV_VIEWEMAIL, sender))) {