summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_cap.cpp')
-rw-r--r--src/modules/m_cap.cpp4
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());
}
}