Ban user block

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

This block allows you to ban a user@host mask from connecting to the server. This is the same as adding a /KLINE on IRC.

Syntax[edit]

ban user {
	mask <hostmask>;
	reason <reason-for-ban>;
};

The ban::mask is a wildcard string of a user@host to ban, and ban::reason is the reason for a ban being placed. Note, this is only a local ban and therefore the user may connect to other servers on the network.

Example[edit]

ban user {
	mask *tirc@*.saturn.bbn.com;
	reason "Idiot";
};