InspIRCd v4 is still early in development!
If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.
You probably want to use InspIRCd v3 instead.
The "restrictchans" Module (v4)
This module prevents unprivileged users from creating new channels.
To load this module use the following
<allowchannel> tag defines a channel which may be created by unprivileged users. This tag can be defined as many times as required.
|name||Text||None||Required! A glob pattern for a channel name which can be created by unprivileged users.|
Allows unprivileged users to create the #guests channel:
Allows unprivileged users to create channels starting with "#user-":
<restrictchans> tag defines settings about how the restrictchans module should behave. This tag can only be defined once.
|allowregistered||Boolean||No||Whether users who are logged into an account can create channels.|
This module extends the core
<class:privs> field with the following values:
|channels/restricted-create||Allows server operators to create channels.|
Allows server operators with the class named BasicOper to create channels.
<class name="BasicOper" ... privs="... channels/restricted-create ...">