diff --git a/ircd/m_oper.c b/ircd/m_oper.c index 34fb906..2af679c 100644 --- a/ircd/m_oper.c +++ b/ircd/m_oper.c @@ -125,6 +125,10 @@ void do_oper(struct Client* cptr, struct Client* sptr, struct ConfItem* aconf) client_set_privs(sptr, aconf); ClearOper(sptr); + /* Setează flag-ul hide_oper din config pentru stealth oper mode */ + if (HasPriv(sptr, PRIV_HIDE_OPER)) + SetFlag(sptr, FLAG_HIDEOPER); + snomask = ConfSnoMask(aconf) & SNO_ALL; snomask |= aconf->snomask & SNO_ALL;