From 8eb46772e6e9244575851ceaa86b39e57a1db060 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 29 Jun 2015 08:58:31 -0400 Subject: Don't allow loading hostserv mods if there can be no hostserv --- modules/commands/hs_request.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/commands/hs_request.cpp') diff --git a/modules/commands/hs_request.cpp b/modules/commands/hs_request.cpp index 616b2e772..313057d25 100644 --- a/modules/commands/hs_request.cpp +++ b/modules/commands/hs_request.cpp @@ -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"); } -- cgit