[Request]: Chanmode +W

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

[Request]: Chanmode +W

Post 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!
IRC.ChatHUB.ORG
I Would Like To Kiss You But I Cant Tell Me Why Not My BaBy ? ? ?
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: [Request]: Chanmode +W

Post 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
westor
Official supporter
Posts: 21
Joined: Fri Feb 15, 2013 9:42 pm
Location: Greece
Contact:

Re: [Request]: Chanmode +W

Post 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!
IRC.ChatHUB.ORG
I Would Like To Kiss You But I Cant Tell Me Why Not My BaBy ? ? ?
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: [Request]: Chanmode +W

Post 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.
westor
Official supporter
Posts: 21
Joined: Fri Feb 15, 2013 9:42 pm
Location: Greece
Contact:

Re: [Request]: Chanmode +W

Post 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
IRC.ChatHUB.ORG
I Would Like To Kiss You But I Cant Tell Me Why Not My BaBy ? ? ?
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: [Request]: Chanmode +W

Post 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)
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: [Request]: Chanmode +W

Post 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?
cheiron
Posts: 74
Joined: Sun May 29, 2011 6:17 pm

Re: [Request]: Chanmode +W

Post 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
Post Reply