diff options
| author | 2016-02-19 21:03:21 +0100 | |
|---|---|---|
| committer | 2016-02-19 21:03:21 +0100 | |
| commit | a876f2c58e2f6f2602ed27da09a6e9c40008a80c (patch) | |
| tree | e010ecca818239e5fe82d9e8eacfd1a80f9c9a2a /src/modules | |
| parent | Merge pull request #1126 from SaberUK/master+gcc6 (diff) | |
| parent | Fix cap-notify sending ADD instead of NEW. (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('='); |
