aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ircv3_capnotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_ircv3_capnotify.cpp')
-rw-r--r--src/modules/m_ircv3_capnotify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_ircv3_capnotify.cpp b/src/modules/m_ircv3_capnotify.cpp
index 1c5ab7655..172c8d7ac 100644
--- a/src/modules/m_ircv3_capnotify.cpp
+++ b/src/modules/m_ircv3_capnotify.cpp
@@ -151,8 +151,8 @@ public:
void OnCapValueChange(Cap::Capability* cap) override
{
- // The value of a cap has changed, send CAP DEL and CAP NEW with the new value
- Send(cap->GetName(), cap, false);
+ // We used to send a DEL then a NEW here but IRCv3 PR #480 clarified
+ // that this behaviour is unnecessary.
Send(cap->GetName(), cap, true);
}