Tip of the day: Connthrottle will limit the damage from big drone attacks. Check if the flood thresholds and exceptions are OK for your network.

Translations:Configuration/31/en

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

Allow channel block

The allow channel block allows you to specify specific channels that users may join. It is used to exempt channels that were banned through the Deny channel block.

Syntax

allow channel {
	channel "<channel-mask>";
        mask "ip/hostmask"; // optional!
};

channel specifies the wildcard mask of the channels which may be joined.

The optional mask makes it possibly to apply this block only to certain users. It is a Mask item with lots of options.

Example

/* Deny joining all channels with 'help' in it */
deny channel {
        channel "#*help*";
        reason "We only have one official help channel. Please join #help instead.";
};

/* Allow #help */
allow channel {
	channel "#help";
};

/* Allow #lanhelp only to 192.168.* users */
allow channel {
	channel "#lanhelp";
        mask 192.168.*;
};