diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-02-19 21:03:21 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-02-19 21:03:21 +0100 |
commit | a876f2c58e2f6f2602ed27da09a6e9c40008a80c (patch) | |
tree | e010ecca818239e5fe82d9e8eacfd1a80f9c9a2a /src/modules | |
parent | c3325cac9354ec1322e5863a9d0cb45a1d639bf9 (diff) | |
parent | 017a3c27908d3449f5006af22b6d423f5d5876d1 (diff) |
Merge pull request #1130 from SaberUK/master+capnew
Fix cap-notify sending ADD instead of NEW.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_ircv3_capnotify.cpp | 2 |
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('='); |