diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:16:05 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:19:44 +0000 |
commit | 7640fad30cc2a3d61e67a7075c27f26400d4779f (patch) | |
tree | f313f0e7cf6fafd1c94f7bd2b3650a207f941ccc /modules/webcpanel/pages/hostserv/request.cpp | |
parent | 9f6d3787559febb48611b1477eaa6a35beadf71a (diff) |
Simplify several boolean expressions.
Diffstat (limited to 'modules/webcpanel/pages/hostserv/request.cpp')
-rw-r--r-- | modules/webcpanel/pages/hostserv/request.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |