aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-08-17 16:17:00 +0100
committerGravatar Sadie Powell2021-08-17 16:20:37 +0100
commit0c96682d889ccc38d12f9764110b280d03acb41e (patch)
tree592607785ba02e1da0e683fae024cb5960d0e2f9 /src/modules
parentAdd a detach method that takes an Implementation array. (diff)
parentFix not parsing headers properly in the HTTP module. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_banexception.cpp2
-rw-r--r--src/modules/m_classban.cpp2
-rw-r--r--src/modules/m_httpd.cpp2
-rw-r--r--src/modules/m_inviteexception.cpp2
4 files changed, 5 insertions, 3 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 7c6a44d85..d61c6353c 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -56,7 +56,7 @@ class ModuleBanException
public:
ModuleBanException()
- : Module(VF_VENDOR, "Adds channel mode e (banexception) which allows channel operators to exempt user masks from the b (ban) channel mode.")
+ : Module(VF_VENDOR, "Adds channel mode e (banexception) which allows channel operators to exempt user masks from channel mode b (ban).")
, ExtBan::EventListener(this)
, ISupport::EventListener(this)
, be(this)
diff --git a/src/modules/m_classban.cpp b/src/modules/m_classban.cpp
index cf58ee0a2..88ce54c34 100644
--- a/src/modules/m_classban.cpp
+++ b/src/modules/m_classban.cpp
@@ -57,7 +57,7 @@ class ModuleClassBan
public:
ModuleClassBan()
- : Module(VF_VENDOR | VF_OPTCOMMON, "Adds the n extended ban which check whether users are in a connect class matching the specified glob pattern.")
+ : Module(VF_VENDOR | VF_OPTCOMMON, "Adds extended ban n: which check whether users are in a connect class matching the specified glob pattern.")
, extban(this)
{
}
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index 1c513848b..a8e6b71c0 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -109,6 +109,8 @@ class HttpServerSocket : public BufferedSocket, public Timer, public insp::intru
parser_settings.on_message_begin = Callback<&HttpServerSocket::OnMessageBegin>;
parser_settings.on_url = DataCallback<&HttpServerSocket::OnUrl>;
parser_settings.on_header_field = DataCallback<&HttpServerSocket::OnHeaderField>;
+ parser_settings.on_header_value = DataCallback<&HttpServerSocket::OnHeaderValue>;
+ parser_settings.on_headers_complete = Callback<&HttpServerSocket::OnHeadersComplete>;
parser_settings.on_body = DataCallback<&HttpServerSocket::OnBody>;
parser_settings.on_message_complete = Callback<&HttpServerSocket::OnMessageComplete>;
}
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp
index 205d67ffe..15087d60b 100644
--- a/src/modules/m_inviteexception.cpp
+++ b/src/modules/m_inviteexception.cpp
@@ -53,7 +53,7 @@ class ModuleInviteException
public:
ModuleInviteException()
- : Module(VF_VENDOR, "Adds channel mode I (invex) which allows channel operators to exempt user masks from the i (inviteonly) channel mode.")
+ : Module(VF_VENDOR, "Adds channel mode I (invex) which allows channel operators to exempt user masks from channel mode i (inviteonly).")
, ISupport::EventListener(this)
, ie(this)
{