summaryrefslogtreecommitdiff
path: root/src/modules/m_repeat.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-12-16 01:26:04 +0000
committerPeter Powell <petpow@saberuk.com>2018-12-16 01:41:47 +0000
commit8ec9a73a91ad1c7009fd3055fbad7c980b5e1732 (patch)
tree659a24d10eecf040cfc25a25ac093a8b3a752d15 /src/modules/m_repeat.cpp
parent0b36f9bdc8482284f0801a4a46b2525b32fa09a4 (diff)
Fix ParamModeBase::OnUnset() not being virtual.
Closes #1536.
Diffstat (limited to 'src/modules/m_repeat.cpp')
-rw-r--r--src/modules/m_repeat.cpp2
1 files changed, 1 insertions, 1 deletions
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<RepeatMode, SimpleExtItem<ChannelSettings> >
{
}
- 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();