[Request]: Chanmode +W

These are old archives. They are kept for historic purposes only.
Post Reply
westor
Posts: 15
Joined: Fri Feb 15, 2013 9:42 pm

[Request]: Chanmode +W

Post by westor » Tue Mar 05, 2013 7:27 pm

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!

Stealth
Head of Support
Posts: 2078
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: [Request]: Chanmode +W

Post by Stealth » Wed Mar 06, 2013 2:41 am

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

westor
Posts: 15
Joined: Fri Feb 15, 2013 9:42 pm

Re: [Request]: Chanmode +W

Post by westor » Wed Mar 06, 2013 2:00 pm

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!

katsklaw
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: [Request]: Chanmode +W

Post by katsklaw » Wed Mar 06, 2013 4:25 pm

Anope is a completely different program so it will need to be programmed into anope as well so you'd have to ask them.

westor
Posts: 15
Joined: Fri Feb 15, 2013 9:42 pm

Re: [Request]: Chanmode +W

Post by westor » Wed Mar 06, 2013 6:22 pm

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

Stealth
Head of Support
Posts: 2078
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: [Request]: Chanmode +W

Post by Stealth » Thu Mar 07, 2013 3:18 am

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)

cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: [Request]: Chanmode +W

Post by cheiron » Tue Mar 12, 2013 7:29 am

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?

cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: [Request]: Chanmode +W

Post by cheiron » Tue Mar 12, 2013 8:31 am

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

Post Reply