From 2fdc9ad1059631b5d2514c11187287a0a7434e39 Mon Sep 17 00:00:00 2001 From: mihaiitdata Date: Fri, 13 Feb 2026 13:36:55 +0200 Subject: [PATCH] Implementare cerinte operator: +W automat, whois notices, host hiding automat pentru clienti --- install.sh | 1 + ircd/m_oper.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 20717d1..30967bd 100755 --- a/install.sh +++ b/install.sh @@ -730,6 +730,7 @@ features { "CHECK" = "TRUE"; "CHECK_EXTENDED" = "TRUE"; "MAX_CHECK_OUTPUT" = "1000"; + "OPER_WHOIS_PARANOIA" = "TRUE"; # Admin commands "SETHOST" = "TRUE"; diff --git a/ircd/m_oper.c b/ircd/m_oper.c index 1460f19..34fb906 100644 --- a/ircd/m_oper.c +++ b/ircd/m_oper.c @@ -166,9 +166,9 @@ void do_oper(struct Client* cptr, struct Client* sptr, struct ConfItem* aconf) client_send_privs(&me, sptr, sptr); if (HasPriv(sptr, PRIV_PROPAGATE)) { - modes = (HasPriv(sptr, PRIV_ADMIN) ? "aowsg" : "owsg"); + modes = (HasPriv(sptr, PRIV_ADMIN) ? "aowsgW" : "owsgW"); } else { - modes = "Owsg"; + modes = "OwsgW"; } sendcmdto_one(&me, CMD_MODE, sptr, "%s %s", cli_name(sptr), modes);