Page 1 of 1

[SOLVED] registro de canales

Posted: Fri Mar 28, 2025 7:22 pm
by pumuki
Buenas tardes, me gustaria saber si se puede anular que los usuarios de mi red, puedan registrar canales, que solo lo puedan hacer operadores de red, pero no se si lo tengo que hacer desde el ircd o de des los services.


Gracias

[Translated text from Spanish using DeepL by a forum moderator / Texto traducido del espaƱol utilizando DeepL por un moderador del foro]
Good afternoon, I would like to know if it is possible to cancel that the users of my network can register channels, that only network operators can do it, but I do not know if I have to do it from the ircd or from the services.


Thanks

Re: registro de canales

Posted: Fri Mar 28, 2025 10:49 pm
by Valware
Thanks for your question. There are a few of ways to achieve this from UnrealIRCd's configuration (unrealircd.conf) depending on what you really want.

Method 1
The first and simplest way is to change the level that users get when creating new channels. Since you need to have channel operator status in a channel to register it, you can deny someone from becoming channel operator on channels they create by using the `level-on-join` directive in your `set` block. You might choose to use this if you want users to be able to create new channels but not have channel operator status at all. For example:

Code: Select all

set {
	level-on-join none;
}
Method 2
The second way, which is also simple, is to forbid regular users from creating new channels in the first place using the `restrict-commands` directive of your `set` block. You might choose to use this instead of the method above if you don't want there to be any user-owned channels on your network for some reason.

Code: Select all

set {
	restrict-commands {
		channel-create;
	}
}
Method 3
The third and most advanced way is to use Spamfilter to restrict users from sending both "NS register *" and "PRIVMSG NickServ register *". You might want to use this method if you want users to be able to create new channels and have channel operator status, but not be able to actually register the channel. For more information, see the documenation.

Method 4
The fourth and final method of stopping regular users from using NickServ REGISTER would be by unloading "REGISTER" module in NickServ and loading "SAREGISTER" which should let you do what you want via your services package. For more information on how to do that, please refer to the documentation for your services package.

Re: registro de canales

Posted: Sat Mar 29, 2025 1:03 pm
by PeGaSuS
Method 5
Assuming you are using Anope, you can just remove the # from this line and that will prevent users from using ChanServ too.