aboutsummaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/cap.h2
-rw-r--r--include/modules/dns.h2
-rw-r--r--include/modules/extban.h2
-rw-r--r--include/modules/regex.h6
4 files changed, 6 insertions, 6 deletions
diff --git a/include/modules/cap.h b/include/modules/cap.h
index 9f08826db..150393520 100644
--- a/include/modules/cap.h
+++ b/include/modules/cap.h
@@ -177,7 +177,7 @@ namespace Cap
Unregister();
}
- ~Capability()
+ ~Capability() override
{
SetActive(false);
}
diff --git a/include/modules/dns.h b/include/modules/dns.h
index aca01b54f..33baa8284 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -188,7 +188,7 @@ namespace DNS
{
}
- virtual ~Request()
+ ~Request() override
{
manager->RemoveRequest(this);
}
diff --git a/include/modules/extban.h b/include/modules/extban.h
index a8f986e9e..4f0031aef 100644
--- a/include/modules/extban.h
+++ b/include/modules/extban.h
@@ -256,7 +256,7 @@ class ExtBan::EventListener
public:
/** Called when an extban is being checked.
* @param user The user which the extban is being checked against.
- * @param channel The channel which the extban is set on.
+ * @param chan The channel which the extban is set on.
* @param extban The extban which is being checked against.
*/
virtual ModResult OnExtBanCheck(User* user, Channel* chan, ExtBan::Base* extban) = 0;
diff --git a/include/modules/regex.h b/include/modules/regex.h
index 6c9f659da..1ae7acd73 100644
--- a/include/modules/regex.h
+++ b/include/modules/regex.h
@@ -72,7 +72,7 @@ class Regex::Engine
virtual PatternPtr Create(const std::string& pattern, uint8_t options = Regex::OPT_NONE) = 0;
/** Compiles a regular expression from the human-writable form.
- * @param The pattern to compile in the format /pattern/flags.
+ * @param pattern The pattern to compile in the format /pattern/flags.
* @return A shared pointer to an instance of the Regex::Pattern class.
*/
PatternPtr CreateHuman(const std::string& pattern);
@@ -157,8 +157,8 @@ class Regex::Pattern
protected:
/** Initializes a new instance of the Pattern class.
- * @param Pattern The pattern as a string.
- * @param Options The options used when matching this pattern.
+ * @param pattern The pattern as a string.
+ * @param options The options used when matching this pattern.
*/
Pattern(const std::string& pattern, uint8_t options)
: optionflags(options)