From 7640fad30cc2a3d61e67a7075c27f26400d4779f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 27 Feb 2024 10:16:05 +0000 Subject: Simplify several boolean expressions. --- modules/webcpanel/pages/hostserv/request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/webcpanel/pages/hostserv/request.cpp') diff --git a/modules/webcpanel/pages/hostserv/request.cpp b/modules/webcpanel/pages/hostserv/request.cpp index 030999d1e..373686600 100644 --- a/modules/webcpanel/pages/hostserv/request.cpp +++ b/modules/webcpanel/pages/hostserv/request.cpp @@ -23,7 +23,7 @@ bool WebCPanel::HostServ::Request::OnRequest(HTTPProvider *server, const Anope:: if (na->HasVhost()) { - if (na->GetVhostIdent().empty() == false) + if (!na->GetVhostIdent().empty()) replacements["VHOST"] = na->GetVhostIdent() + "@" + na->GetVhostHost(); else replacements["VHOST"] = na->GetVhostHost(); -- cgit