From 8b8934b5f4887cc71d0674e100e0586fa5bd9d0c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 8 Mar 2026 18:02:57 +0000 Subject: Fix some minor doxygen warnings. --- include/inspircd.h | 2 +- include/modules/extban.h | 2 +- include/timeutils.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index 7400fe717..4112f0a64 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -421,7 +421,7 @@ public: static void ProcessColors(std::vector& lines); /** Replaces color escapes in the specified string with IRC colors. - * @param lines The string replace color escapes in. + * @param str The string to replace color escapes in. */ static void ProcessColors(std::string& str); diff --git a/include/modules/extban.h b/include/modules/extban.h index 8bb5f93b3..6bc7c8eea 100644 --- a/include/modules/extban.h +++ b/include/modules/extban.h @@ -79,6 +79,7 @@ namespace ExtBan * @param banentry The ban entry to parse. * @param name The parsed name of the extban. * @param value The parsed value of the extban. + * @param inverted Whether the extban has been inverted. * @return True if an extban was extracted from the ban entry; otherwise, false. */ inline bool Parse(const std::string& banentry, std::string& name, std::string& value, bool& inverted); @@ -234,7 +235,6 @@ public: * @param user The user who is adding the extban * @param channel The channel the extban is being added mon. * @param text The text of the extban to validate. - * @param inverted Whether the extban has been inverted. * @return True if the extban is valid; otherwise, false. */ virtual bool Validate(ListModeBase* lm, LocalUser* user, Channel* channel, std::string& text) diff --git a/include/timeutils.h b/include/timeutils.h index dd6585cfb..8ef538918 100644 --- a/include/timeutils.h +++ b/include/timeutils.h @@ -66,7 +66,6 @@ namespace Duration * * @param str A string containing a duration. * @param duration The location to store the resulting duration. - * @param base The base time to use for leap year calculation. * @return True if the conversion succeeded; otherwise, false. */ CoreExport bool TryFrom(const std::string& str, unsigned long& duration); -- cgit v1.3.1-10-gc9f91