summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_reloadmodule.cpp2
-rw-r--r--src/modules/m_rline.cpp11
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;