📝 Add complete guide for stealth oper code modification

This commit is contained in:
mihaiitdata committed 2026-02-23 22:17:28 +02:00
1 parent bea8675c84
commit fdf96ba438
6 files changed
+1138 -5

No files matched your search

+5 -1
View File
@@ -251,7 +251,11 @@ static void do_whois(struct Client* sptr, struct Client *acptr, int parc)
if (user->away)
send_reply(sptr, RPL_AWAY, name, user->away);
if (SeeOper(sptr,acptr)) {
/* Verifică dacă operul are privilegiul DISPLAY
* Dacă display = no în Operator/Class block, NU afișa mesajul
* Permite stealth oper mode pentru investigații undercover
*/
if (SeeOper(sptr,acptr) && HasPriv(acptr, PRIV_DISPLAY)) {
if (IsAdmin(acptr))
send_reply(sptr, RPL_WHOISOPERATOR, name, feature_str(FEAT_WHOIS_ADMIN));
else