Opers still seeing notices on log out

These are old archives. They are kept for historic purposes only.
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Opers still seeing notices on log out

Post by cheiron »

Got slight problem and not sure on if normal or if broke something.
if one of my opers logs out of oper .. they stay in the oper channels and still retains all the snotices for some reason even though they are no longer irc operator

i'm using unrealircd 3.2.8.1 and anope 1.8.5

could i have a hand please so that on log out .. they lose the snomasks etc and get dumped from the oper rooms.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Opers still seeing notices on log out

Post by Jobe »

How exactly are they "logging out" of oper?
Your IP: Image
Your Country: Image
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: Opers still seeing notices on log out

Post by cheiron »

UserMode: WhiteWolf[s] (~[email protected] => [email protected]) is no longer a Global IRC Operator (-o)

thats all i am seeing.. user is not awake atm to ask as on different timezones..
cards
Posts: 85
Joined: Sat Jun 12, 2004 5:04 am

Re: Opers still seeing notices on log out

Post by cards »

The only thing I could think of use a module that on snotice of -o, it would kick the user from the channel. Unreal does not check to see if the user is an oper in an oper only channel every x seconds, It only checks onjoin. Aside from a module, you would have to use an opered eggdrop or a client script to sapart or kick on deoper
NetAdmin
irc.420-HighTimes.com
cards
Posts: 85
Joined: Sat Jun 12, 2004 5:04 am

Re: Opers still seeing notices on log out

Post by cards »

Are you using an anope module to get that message. I cannot find that specific message in the core source of either Anope or Unreal
NetAdmin
irc.420-HighTimes.com
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: Opers still seeing notices on log out

Post by cheiron »

standard message in the #services channels bearing in mind have services sat in there in channel and its logchan
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Opers still seeing notices on log out

Post by katsklaw »

it's not stock Unreal doing it. it has to be a module or services. At any rate, it's a simple notice telling you someone deoppered. Additionally, you said it's going yo your logchan and if said oper is still in #Services, it's obvious they will see it.

There is no setting that will force an oper out of a channel when they set -o as there is no requirement for opers to be in any channels. To Unreal, #Services isn't any different than any other channel on the net. To have opers removed by force you will need a module.
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: Opers still seeing notices on log out

Post by cheiron »

noooo..... lol

Opers get joined to the #opers channel by default on oper up

i'm the only netadmin and the only one in the #services channel besides services...

my query was .. why do the opers still get all their oper snotices on deoper and remain in the oper channel ..

and is there a way to prevent them from doing so on de-oper and if so .. how please :)
cards
Posts: 85
Joined: Sat Jun 12, 2004 5:04 am

Re: Opers still seeing notices on log out

Post by cards »

#1) The should not continue getting snotices on deoper. Onces they remove their oper flags /mode <nick> -o, they automatically lose all of their snomask flags (I've tested it)
#2) When a channel has mode +O, it acts much like a channel being +k or +i. It only checks that the person has the proper permissions to join. I does not care after they are already in the channel. As said before, you will need either a client side script, eggdrop, or modules to kick or sapart them from the channel on deoper

I'm working on something, but keep running into roadblocks as I can't find specifically where that line comes from. COuld you post /os modlist and /module results. Also are you using neostats

Cards
NetAdmin
irc.420-HighTimes.com
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Opers still seeing notices on log out

Post by Syzop »

cheiron: could you give an example of what notice they are still receiving even though they are no longer oper? Kill notices perhaps?

Some snomasks can be enabled by regular users, so these can be/are retained after de-oper, see Docs: Features - Snomasks the ones marked with [*].
Information regarding disabling ALL snomasks for regular users is located in Docs: Security tips/checklist - Information disclosure (see NORMAL USERS & SNOMASKS).
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: Opers still seeing notices on log out

Post by cheiron »

for os modlist
-OperServ- Module: cs_appendtopic [1.8.5 (3037)] [Supported]
-OperServ- Module: cs_enforce [1.8.5 (3037)] [Supported]
-OperServ- Module: cs_access_notice [$Id: cs_access_notice.c v2.0.0 25-01-2009 n00bie $] [3rd]
-OperServ- Module: cs_tban [1.8.5 (3037)] [Supported]
-OperServ- Module: cs_mute [cs_mute.c v1.1a Swampy] [3rd]
-OperServ- Module: cs_mypower [$Id: cs_mypower.c v1.0.1 18-01-2007 n00bie $] [3rd]
-OperServ- Module: enc_none [1.8.5 (3037)] [Encryption]
-OperServ- Module: ircd_init [$Id: ircd_init.c v3.0.0 20-5-2008 n00bie $] [3rd]
-OperServ- Module: logchan [1.0] [3rd]
-OperServ- Module: LoveServ [1.0] [3rd]
-OperServ- Module: m_connect_flood [3.3] [3rd]
-OperServ- Module: new_regmsg [1.0.1] [3rd]
-OperServ- Module: ns_sagroup [1.0] [3rd]
-OperServ- Module: ns_clist [$Id: ns_clist.c v2.0.0 30-07-2007 n00bie $] [3rd]
-OperServ- Module: ns_saregister [1.1] [3rd]
-OperServ- Module: ns_saupdate [0.1] [3rd]
-OperServ- Module: ns_maxemail [1.8.5 (3037)] [Supported]
-OperServ- Module: ns_noticeunregister [$Id: ns_noticeunregister.c v1.0.1 20-02-2008 n00bie $] [3rd]
-OperServ- Module: os_forceid [$Id: os_forceid.c v1.0.1 12-01-2007 n00bie $] [3rd]
-OperServ- Module: os_ignore_db [1.8.5 (3037)] [Supported]
-OperServ- Module: os_trace [1.0.0] [3rd]
-OperServ- Module: os_info [1.8.5 (3037)] [Supported]
-OperServ- Module: os_massserv [0.0.1] [3rd]
-OperServ- Module: os_massmode [1.0.2] [3rd]
-OperServ- Module: os_regflood [1.0] [3rd]
-OperServ- Module: os_amode [1.0.0] [3rd]
-OperServ- Module: os_pingfake [1.0] [3rd]
-OperServ- Module: os_tssync [1.0.1] [3rd]
-OperServ- Module: os_notinchanlist [2.3] [3rd]
-OperServ- Module: unreal32 [1.8.5 (3037)] [Protocol]
-OperServ- 30 Modules loaded.
and for /module...
* *** m_restrictcolors - 1.0 (color stripping for non-(half)op) [PERM] [3RD]
* *** rmtkl - v3.6 (/RMTKL oper command to remove *lines) [3RD]
* *** ircops - $Id: m_ircops.c,v 3.2 2004/07/11 23:39:48 angrywolf Exp $ (command /ircops) [3RD]
* *** antirandom - v1.1 (Randomness detector) [3RD]
* *** m_elmer - $Id: m_elmer.c,v 1.6 2004/03/12 11:59:30 angrywolf Exp $ (Command /elmer) [3RD]
* *** netadmins - $Id: netadmins.c,v 1.8 2004/04/19 19:37:27 angrywolf Exp $ (Kill & ban protection for netadmins) [3RD]
* *** cloak - $Id: cloak.c,v 1.1.4.9 2009/04/13 11:04:36 syzop Exp $ (Official cloaking module (md5))
* *** commands - $Id: l_commands.c,v 1.1.6.12 2009/04/13 11:04:36 syzop Exp $ (Wrapper library for m_ commands)
* *** commandsno - $Id: commandsno.c,v 1.13 2004/08/10 20:15:19 angrywolf Exp $ (Snomask +C: lets you see command usages) [PERM] [3RD]
* *** m_adult - $Id: m_adult.c,v 1.11 2008/05/31 16:58 $ (user and channel modes +X ) [PERM] [3RD]
* *** m_uline - $Id: m_uline.c,v 1.13 2004/03/09 10:32:28 angrywolf Exp $ (Command /uline) [PERM] [3RD]
* Hooks: 1 6 7 8 13 15 16 17 18 28 38
* Override: GZLINE GLINE IRCOPS KLINE KILL MODULE STATS SHUN VERSION ZLINE
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: Opers still seeing notices on log out

Post by cheiron »

on oper ...

user has ...
[EthelWolf[s]] is using modes +iowghsxWtpX +kcfvGqso
when he deopers /// he has
[EthelWolf[s]] is using modes +iwsxtpX +ks
my unreal.conf bits for modes is

restrict-usermodes +skxX;
modes-on-oper +xwgsWX;
oper-only-stats "*";
cards
Posts: 85
Joined: Sat Jun 12, 2004 5:04 am

Re: Opers still seeing notices on log out

Post by cards »

OK. I see that that specific lines comes from logchan modules on operserv. I am looking for a way to detect the channels the user is on when they UMODE and check if +O is set on the channel. If they are, they need to be parted from the channel. I am working on a solution for you.

As for his modes on deoper
w: Can see wallops
X: U dunno. Comes from one of your modules.

Other than X, everything looks completely normal
NetAdmin
irc.420-HighTimes.com
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: Opers still seeing notices on log out

Post by cheiron »

yeah user mode +X is a custom module ... m_adult which restricts adult themed rooms
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: Opers still seeing notices on log out

Post by cheiron »

not sure on the bump frequency if its 5 or 7 days so i apologise if it is 7 days for future posts.

but here goes with this thread on a bump
Post Reply