diff options
author | Sadie Powell <sadie@witchery.services> | 2021-03-31 10:38:54 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-03-31 10:51:51 +0100 |
commit | 952ee5cc603a5231348b8cfab18ee85a097f5394 (patch) | |
tree | af56b96d229f931ace18fcf69a35614b5921e289 /src | |
parent | 8c3c4f8e8274a598b4ba573f9eabfd0940d2e88d (diff) |
Fix various documentation comments.
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_reloadmodule.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_rline.cpp | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/coremods/core_reloadmodule.cpp b/src/coremods/core_reloadmodule.cpp index 6836cb55c..ef0b13962 100644 --- a/src/coremods/core_reloadmodule.cpp +++ b/src/coremods/core_reloadmodule.cpp @@ -284,7 +284,7 @@ class DataKeeper /** Restore all modes and extensions of all members on a channel * @param chan Channel whose members are being restored - * @param memberdata Data to restore + * @param memberdatalist Data to restore * @param modechange Mode change to populate with prefix modes */ void RestoreMemberData(Channel* chan, const std::vector<ChanData::MemberData>& memberdatalist, Modes::ChangeList& modechange); diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index 7ef766b7d..f4c675919 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -37,15 +37,6 @@ static bool added_zline = false; class RLine : public XLine { public: - - /** Create a R-line. - * @param s_time The set time - * @param d The duration of the xline - * @param src The sender of the xline - * @param re The reason of the xline - * @param regex Pattern to match with - * @ - */ RLine(time_t s_time, unsigned long d, const std::string& src, const std::string& re, const std::string& regexs, dynamic_reference<RegexFactory>& rxfactory) : XLine(s_time, d, src, re, "R") , matchtext(regexs) @@ -56,8 +47,6 @@ class RLine : public XLine regex = rxfactory->Create(regexs); } - /** Destructor - */ ~RLine() { delete regex; |