aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_httpd_acl.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-29 12:01:29 +0100
committerGravatar Sadie Powell2022-09-29 12:36:01 +0100
commit89537ed2ab22fcedb25e0378bd2c18e392911c0c (patch)
tree4cdea30cb16c0a044d80ba4bab8ef9a645c90824 /src/modules/m_httpd_acl.cpp
parentUse NOMINMAX on Windows and undefine error in the log header. (diff)
Fix various cases of the &* being next to the name instead of type.
Diffstat (limited to 'src/modules/m_httpd_acl.cpp')
-rw-r--r--src/modules/m_httpd_acl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_httpd_acl.cpp b/src/modules/m_httpd_acl.cpp
index 66f6f8bb2..931a489e1 100644
--- a/src/modules/m_httpd_acl.cpp
+++ b/src/modules/m_httpd_acl.cpp
@@ -35,8 +35,8 @@ public:
std::string whitelist;
std::string blacklist;
- HTTPACL(const std::string &set_path, const std::string &set_username, const std::string &set_password,
- const std::string &set_whitelist, const std::string &set_blacklist)
+ HTTPACL(const std::string& set_path, const std::string& set_username, const std::string& set_password,
+ const std::string& set_whitelist, const std::string& set_blacklist)
: path(set_path), username(set_username), password(set_password), whitelist(set_whitelist),
blacklist(set_blacklist) { }
};
@@ -100,7 +100,7 @@ public:
acl_list.swap(new_acls);
}
- void BlockAccess(HTTPRequest* http, unsigned int returnval, const std::string &extraheaderkey = "", const std::string &extraheaderval="")
+ void BlockAccess(HTTPRequest* http, unsigned int returnval, const std::string& extraheaderkey = "", const std::string& extraheaderval="")
{
ServerInstance->Logs.Debug(MODNAME, "BlockAccess (%u)", returnval);