mirror of
https://github.com/anope/anope.git
synced 2026-07-08 16:03:13 +02:00
Don't allow loading hostserv mods if there can be no hostserv
This commit is contained in:
@@ -362,7 +362,6 @@ class HSRequest : public Module
|
||||
commandhsrequest(this), commandhsactive(this),
|
||||
commandhsreject(this), commandhswaiting(this), hostrequest(this, "hostrequest"), request_type("HostRequest", HostRequest::Unserialize)
|
||||
{
|
||||
|
||||
if (!IRCD || !IRCD->CanSetVHost)
|
||||
throw ModuleException("Your IRCd does not support vhosts");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user