summaryrefslogtreecommitdiff
path: root/modules/webcpanel/pages/hostserv/request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webcpanel/pages/hostserv/request.cpp')
-rw-r--r--modules/webcpanel/pages/hostserv/request.cpp2
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();