]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ircv3_capnotify.cpp
core_hostname_lookup: find answer record of the correct type instead of assuming...
[user/henk/code/inspircd.git] / src / modules / m_ircv3_capnotify.cpp
index b19c2665d22b1068543b0326db796fefae7ab940..93c30df123ce018e28cc4f3aa73ebf104e65ea41 100644 (file)
@@ -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('=');