Tip of the day: You can use a SSL/TLS certificate fingerprints to exempt trusted users from server bans or allow them to send more commands per second.

Ban nick block

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

The ban nick block allows you to disable use of a nickname on the server. This is the same as a "Q-Line" from Services.

Syntax

ban nick {

	mask <nickname>;
	reason <reason-for-ban>;
}

The ban::mask allows wildcard masks to match multiple nicks, and ban::reason allows you to specify the reason for which this ban is placed. Most commonly these blocks are used to ban usage of the nicknames commonly used for network services.

Example

Single nick

ban nick {
	mask "*C*h*a*n*S*e*r*v*";
	reason "Reserved for Services";
}

Multiple nicks

Requires UnrealIRCd 6.1.8 or later

ban nick {
    mask { nick; nick2; nick3; }
    reason "Go away";
}