From 753119c4a16f6dafacbeb3d98fe72133badca949 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 15 Mar 2024 12:42:13 +0000 Subject: Use consistent casing when referring to vhosts and vidents. --- modules/webcpanel/pages/hostserv/request.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 0a8513c76..d4446db04 100644 --- a/modules/webcpanel/pages/hostserv/request.cpp +++ b/modules/webcpanel/pages/hostserv/request.cpp @@ -21,8 +21,8 @@ bool WebCPanel::HostServ::Request::OnRequest(HTTPProvider *server, const Anope:: WebPanel::RunCommand(client, na->nc->display, na->nc, "HostServ", "hostserv/request", params, replacements, "CMDR"); } - if (na->HasVhost()) - replacements["VHOST"] = na->GetVhostMask(); + if (na->HasVHost()) + replacements["VHOST"] = na->GetVHostMask(); if (ServiceReference("Command", "hostserv/request")) replacements["CAN_REQUEST"] = "YES"; TemplateFileServer page("hostserv/request.html"); -- cgit