FEATURE v1.7.5: snomask 157444 - Adăugat OPMODE notifications
CERINȚĂ UTILIZATOR: - Văd când cineva devine OPER ✅ - NU văd când operatorii folosesc OPMODE (+o/-o, +v/-v, +l, etc.) ❌ - Vrei notificări pentru acțiuni OPMODE DOCUMENTARE: Din cod sursă (ircd/channel.c, ircd/m_kick.c): - OPMODE folosește SNO_HACK4 - SNO_HACK4 = 256 (0x100) - Descris ca 'Uworld actions on channels' - Include: MODE changes de către operatori SOLUȚIE: ✅ Adăugat SNO_HACK4 (256) la snomask ✅ Valoare NOUĂ: 157188 + 256 = 157444 CALCUL COMPLET snomask = 157444: - SNO_OPERKILL (kills) = 4 - SNO_HACK4 (OPMODE) = 256 ⭐ NOU! - SNO_GLINE (g-lines) = 512 - SNO_NETWORK (server connects) = 1024 - SNO_OLDREALOP (oper changes) = 8192 - SNO_CONNEXIT (client connects) = 16384 - SNO_NICKCHG (nick changes) = 131072 → TOTAL: 4 + 256 + 512 + 1024 + 8192 + 16384 + 131072 = 157444 CE VEI PRIMI ACUM: ✅ Când cineva devine OPER ✅ Când operatorii folosesc OPMODE ⭐ NOU! - /MODE #canal +o user - /MODE #canal -o user - /MODE #canal +v user - /MODE #canal +l 50 - KICK-uri de către operatori - JOIN-uri de operatori în canale ✅ Conexiuni clienți ✅ Nick changes ✅ Kills ✅ G-lines ✅ Server connects EXEMPLU NOTIFICĂRI OPMODE: [12:00] -irc.underchat.org- *** Notice -- HACK(4): Oper MODE #canal +o User [12:01] -irc.underchat.org- *** Notice -- HACK(4): Oper MODE #canal -o User [12:02] -irc.underchat.org- *** Notice -- HACK(4): Oper MODE #canal +l 50 [12:03] -irc.underchat.org- *** Notice -- HACK: Oper KICK #canal User reason CONFIGURAȚIE: Operator { name = 'Username'; password = '\\'; snomask = 157444; ← ACTUALIZAT de la 157188! }; FIX PE SERVER: nano /home/ircd/ircd/lib/ircd.conf # Schimbă: snomask = 157188; # În: snomask = 157444; # Salvează și restart IRCd UPGRADE: git pull && git checkout v1.7.5 && ./install.sh Fișiere: - install.sh (snomask = 157444) - FIX_SNOMASK_NUMERIC.md (documentație actualizată) Versiune: v1.7.5 Status: ✅ OPMODE notifications ACTIVE! Referință: doc/snomask.txt, ircd/channel.c
This commit is contained in:
parent
9f042f470a
commit
3ddce7ee04
|
|
@ -25,7 +25,7 @@ Operator {
|
|||
host = "*@*";
|
||||
class = "Opers";
|
||||
admin = yes;
|
||||
snomask = 157188; ← NUMĂR, nu string! ✅
|
||||
snomask = 157444; ← NUMĂR, nu string! ✅
|
||||
swhois = "is an UnderChat Staff Member";
|
||||
hide_oper = no;
|
||||
hide_channels = yes;
|
||||
|
|
@ -64,16 +64,18 @@ Din `doc/snomask.txt`, fiecare bit reprezintă un tip de notificare:
|
|||
| Bit | Hex Value | Nume | Descriere |
|
||||
|-----|-----------|------|-----------|
|
||||
| 4 | 0x4 | SNO_OPERKILL | Oper kills |
|
||||
| 512 | 0x200 | SNO_GLINE | G-lines (global bans) |
|
||||
| 1024 | 0x400 | SNO_NETWORK | Server join/break |
|
||||
| 8192 | 0x2000 | SNO_OLDREALOP | Old oper messages |
|
||||
| 16384 | 0x4000 | SNO_CONNEXIT | Client connect/exit |
|
||||
| 256 | 0x100 | SNO_HACK4 | **OPMODE** (oper mode changes) ⭐ |
|
||||
| 512 | 0x200 | SNO_GLINE | G-lines |
|
||||
| 1024 | 0x400 | SNO_NETWORK | Server connects |
|
||||
| 8192 | 0x2000 | SNO_OLDREALOP | **Oper changes** ⭐ |
|
||||
| 16384 | 0x4000 | SNO_CONNEXIT | Client connects |
|
||||
| 131072 | 0x20000 | SNO_NICKCHG | Nick changes |
|
||||
|
||||
**TOTAL: 4 + 512 + 1024 + 8192 + 16384 + 131072 = 157188**
|
||||
**TOTAL:** 4 + 256 + 512 + 1024 + 8192 + 16384 + 131072 = **157444**
|
||||
|
||||
**CE VEI PRIMI:**
|
||||
- ✅ Notificare când cineva devine OPER
|
||||
- ✅ Notificare când operatorii folosesc **OPMODE** (+o/-o, +v/-v, etc.)
|
||||
- ✅ Notificare la conexiuni clienți
|
||||
- ✅ Notificare la nick changes
|
||||
- ✅ Notificare la kills
|
||||
|
|
|
|||
|
|
@ -715,7 +715,7 @@ Operator {
|
|||
host = "*@*";
|
||||
class = "Opers";
|
||||
admin = yes;
|
||||
snomask = 157188;
|
||||
snomask = 157444;
|
||||
swhois = "is an UnderChat Staff Member";
|
||||
hide_oper = no;
|
||||
hide_channels = yes;
|
||||
|
|
|
|||
Loading…
Reference in New Issue