From 7b72365bdf29b1e0aa6dea0a5d0584fe0a76f488 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 18 Apr 2022 13:16:47 +0100 Subject: Also send ACCOUNT to the user who is authenticating. Closes #1974. --- src/modules/m_ircv3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_ircv3.cpp') diff --git a/src/modules/m_ircv3.cpp b/src/modules/m_ircv3.cpp index abfd10ce6..58b6fd244 100644 --- a/src/modules/m_ircv3.cpp +++ b/src/modules/m_ircv3.cpp @@ -150,7 +150,7 @@ class ModuleIRCv3 const std::string& param = (newaccount.empty() ? joinhook.asterisk : newaccount); msg.PushParamRef(param); ClientProtocol::Event accountevent(accountprotoev, msg); - IRCv3::WriteNeighborsWithCap(user, accountevent, cap_accountnotify); + IRCv3::WriteNeighborsWithCap(user, accountevent, cap_accountnotify, true); } void OnUserAway(User* user) CXX11_OVERRIDE -- cgit v1.3.1-10-gc9f91