evilnet / nefarious2

Nefarious IRCu (Based on IRCu 2.10.12)
Other
39 stars 23 forks source link

Oper Flags O/o #52

Open WildClaudio opened 8 years ago

WildClaudio commented 8 years ago

Hello wondering why umodes for local opers wont appear/"local opers wont get it" when i am using /check nickname on a local oper i dont see there the +O umode flag that should be added for a local oper * Status:: Client * Umode(s):: +iwgxWrh

as i know +o umode stands for global opers; and +O umode for local opers i have to mention that Oper CLASS has "local = yes;" another thing that i`w noticed is when i am using "/mode Global-OPER -O" with a global Oper privs will remove the "o" umode /mode Global-OPER -O Global-OPER sets mode: -o

then if i`ll use /mode Global-Oper +o it will remove all my global umodes "or privs added in Admins CLASS in this situation" /check Global-Oper will still show the "a" umode Server Admin /mode Global-Oper +o Global-Oper sets mode: -IWX

examples: /mode Global-Oper -o Global-Oper sets mode: -owa <-- "-oa" this should be OK removing admin/global op privs but i dont know why is removing my "w" umode as is set as forced/default umode for all clients in ircd.conf after issuing /mode -o" i still have "IWXO" umodes "O" umode as mentioned ABOVE i can`t see it/is not assigned as umode but i can remove it

/mode Global-Oper -O Global-Oper sets mode: -IWX

to be mentioned: issuing whatever /mode -o/O will remove the operator privileges but using /check with other privileged client will show in umodes that Global-Oper still have the Remaining umodes "IWX" "agIWX" depending on what "-umode" i am using !!

Thank You In Advance !!!

jobe1986 commented 8 years ago

With regard to the "not seeing +O" is that by any chance a "local" oper on a server other then the server you are on?

As for the other mode issues I will have to look into those when I have a bit more time.

WildClaudio commented 8 years ago

Hello , well /check Local-Oper command should send me the right user modes and yes i am using the /check command with a global oper that has /check privs and using the same server !! the umode is added by server but its not seen in /check command /check reply

CTCP Version:: mIRC v7.43 Umode(s):: +iwgxWh Local-OPER@Local-Oper.net

Local-Oper sets mode: +OwsgW oper class : usermode = "+wixWOs"; as seen above the "+g" that should be GLOBAL flag is added even if the its not set in Oper Class Thank You in Advance !!!