Page 1 of 1

[Request]: Chanmode +W

Posted: Tue Mar 05, 2013 7:27 pm
by westor
Hello,

I wanna request for an module +W channel mode setted/removed only by Network Administrators this will set the channel ONLY joins Network Administrators and not any others like +A .

- Thanks!

Re: [Request]: Chanmode +W

Posted: Wed Mar 06, 2013 2:41 am
by Stealth
I have created this module and lightly tested it with Unreal 3.2.10.

You may download it here: https://bitbucket.org/stealth/unreal32/ ... minsonly.c

Re: [Request]: Chanmode +W

Posted: Wed Mar 06, 2013 2:00 pm
by westor
Working but the problem is in Anope Services does not recognized the W channel mode, eg on MLOCK

how can i solve this ?
[16:00:16] -ChanServ- Unknown mode character W ignored.

- Thanks!

Re: [Request]: Chanmode +W

Posted: Wed Mar 06, 2013 4:25 pm
by katsklaw
Anope is a completely different program so it will need to be programmed into anope as well so you'd have to ask them.

Re: [Request]: Chanmode +W

Posted: Wed Mar 06, 2013 6:22 pm
by westor
The problem is that this can use it and normal users, how can i restricted only used Network Admin the +W set and uset.

make it work like +A , to return Permission Denied- You do not have the correct IRC operator privileges

Re: [Request]: Chanmode +W

Posted: Thu Mar 07, 2013 3:18 am
by Stealth
Setting mode +W should not work for normal users, and will return permission denied when set by a non-netadmin. For services, you'll need to look into how to add the mode to Anope, and how to restrict the mode in MLOCK to staff (if possible)

Re: [Request]: Chanmode +W

Posted: Tue Mar 12, 2013 7:29 am
by cheiron
probably a daft question.... but you have set your restrict modes block UP on your unrealircd.conf yes Westor re stopping users accessing modes they shouldnt. or isnt this releveant in this case Stealth regarding the module's coding?

Re: [Request]: Chanmode +W

Posted: Tue Mar 12, 2013 8:31 am
by cheiron
ignore my last.. i tried to edit it after i posted but that feature is not available. had initially read it as usermode not channel mode/ sorry