diff options
| author | 2008-03-19 00:35:16 +0000 | |
|---|---|---|
| committer | 2008-03-19 00:35:16 +0000 | |
| commit | 625b14a83ca139b50b6d0978612482b1691e6a78 (patch) | |
| tree | f006afe656e6ac5e4e3b7371005c1d142b585d0c /src/modules/m_cap.cpp | |
| parent | Damnit, its right now. im going to bed (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/m_cap.cpp')
| -rw-r--r-- | src/modules/m_cap.cpp | 4 |
1 files changed, 2 insertions, 2 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()); } } |
