diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-19 00:35:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-19 00:35:16 +0000 |
commit | 625b14a83ca139b50b6d0978612482b1691e6a78 (patch) | |
tree | f006afe656e6ac5e4e3b7371005c1d142b585d0c /src/modules | |
parent | 0233c31289ffbb3042a90b49bf4de749cea74226 (diff) |
Nak vector thing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9133 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_cap.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_cap.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp index f69df02be..7836b4e15 100644 --- a/src/modules/m_cap.cpp +++ b/src/modules/m_cap.cpp @@ -76,9 +76,9 @@ class CommandCAP : public Command user->WriteServ("CAP * ACK :%s", AckResult.c_str()); } - if (Data.nak.size() > 0) + if (Data.wanted.size() > 0) { - std::string NakResult = irc::stringjoiner(" ", Data.nak, 0, Data.nak.size() - 1).GetJoined(); + std::string NakResult = irc::stringjoiner(" ", Data.wanted, 0, Data.wanted.size() - 1).GetJoined(); user->WriteServ("CAP * NAK :%s", NakResult.c_str()); } } diff --git a/src/modules/m_cap.h b/src/modules/m_cap.h index 1c0ea49fc..9f17bd3d0 100644 --- a/src/modules/m_cap.h +++ b/src/modules/m_cap.h @@ -23,7 +23,6 @@ class CapData irc::string type; std::vector<std::string> wanted; std::vector<std::string> ack; - std::vector<std::string> nak; User* user; Module* creator; }; |