From 017a3c27908d3449f5006af22b6d423f5d5876d1 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 22 Jan 2016 15:27:29 +0000 Subject: Fix cap-notify sending ADD instead of NEW. --- src/modules/m_ircv3_capnotify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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('='); -- cgit v1.2.3