summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-01-22 15:27:29 +0000
committerPeter Powell <petpow@saberuk.com>2016-02-19 20:00:48 +0000
commit017a3c27908d3449f5006af22b6d423f5d5876d1 (patch)
treea80e71ca7cc8d824ce2fac1e1f0ee0d3866b85ef /src
parentdf9eca077e1bb9f46311925097a21d195551a3c4 (diff)
Fix cap-notify sending ADD instead of NEW.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_ircv3_capnotify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ircv3_capnotify.cpp b/src/modules/m_ircv3_capnotify.cpp
index b19c2665d..93c30df12 100644
--- a/src/modules/m_ircv3_capnotify.cpp
+++ b/src/modules/m_ircv3_capnotify.cpp
@@ -54,7 +54,7 @@ class ModuleIRCv3CapNotify : public Module, public Cap::EventListener, public Re
void Send(const std::string& capname, Cap::Capability* cap, bool add)
{
- std::string msg = (add ? "ADD :" : "DEL :");
+ std::string msg = (add ? "NEW :" : "DEL :");
msg.append(capname);
std::string msgwithval = msg;
msgwithval.push_back('=');