Tip of the day: Exempt your IP address from bans, just in case you or a fellow IRCOp accidentally GLINES you.

Translations:Configuration/32/en

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

Vhost block

The vhost block allows you to specify a login/password that can be used with the /VHOST command on IRC to obtain a fake hostname.

NOTE: Most people use Services instead, which often provide a HostServ bot or capability. This basically allows you to centrally manage vhosts.

Syntax

vhost {
	vhost <vhost>;
	mask {
		<hostmask>;
		<hostmask>;
		...
	};
	login <login-name>;
	password <password>;
	swhois "<swhois info>";
};

The vhost::vhost parameter can be either a user@host or just a host that the user will receive upon successful /vhost. The vhost::mask block contains a user@host that the user must match to be eligible for the vhost, see Mask item for more information. The vhost::login in the login name the user must enter and vhost::password is the password that must be entered. The vhost::password allows you to specify a password or other authentication type. Lastly vhost::swhois allows you to add an extra line to a users whois, exactly as it does in the Oper Block oper::swhois.

Example

vhost {
	vhost my.own.personal.vhost.com;
	mask { *.isp.com; 192.168.*; 127.*; };
	login mynick;
	password mypassword;
	swhois "Im Special";
};