Tip of the day: UnrealIRCd 6 uses GeoIP by default. It is shown in WHOIS but also available as country in mask items,

for example it can be used in the TLD Block to serve a Spanish MOTD to people in Spanish speaking countries.

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";
}