From 8ec9a73a91ad1c7009fd3055fbad7c980b5e1732 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 16 Dec 2018 01:26:04 +0000 Subject: Fix ParamModeBase::OnUnset() not being virtual. Closes #1536. --- src/modules/m_delaymsg.cpp | 2 +- src/modules/m_repeat.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp index 9015e7bf9..f13ea48ea 100644 --- a/src/modules/m_delaymsg.cpp +++ b/src/modules/m_delaymsg.cpp @@ -36,7 +36,7 @@ class DelayMsgMode : public ParamMode } ModeAction OnSet(User* source, Channel* chan, std::string& parameter) CXX11_OVERRIDE; - void OnUnset(User* source, Channel* chan); + void OnUnset(User* source, Channel* chan) CXX11_OVERRIDE; void SerializeParam(Channel* chan, intptr_t n, std::string& out) { diff --git a/src/modules/m_repeat.cpp b/src/modules/m_repeat.cpp index af69f6be1..bd4206166 100644 --- a/src/modules/m_repeat.cpp +++ b/src/modules/m_repeat.cpp @@ -127,7 +127,7 @@ class RepeatMode : public ParamMode > { } - void OnUnset(User* source, Channel* chan) + void OnUnset(User* source, Channel* chan) CXX11_OVERRIDE { // Unset the per-membership extension when the mode is removed const Channel::MemberMap& users = chan->GetUsers(); -- cgit v1.2.3