diff options
| author | 2021-06-12 07:59:13 +0300 | |
|---|---|---|
| committer | 2021-06-12 05:59:13 +0100 | |
| commit | 96e0f18f7faf7bf590c311cd0b63725c64fb4800 (patch) | |
| tree | 0edba3211652ac7b72834f415bcc042504cc4cad /src/modules/m_ircv3.cpp | |
| parent | Use /run/inspircd as the runtime directory on Linux. (diff) | |
Code refactor and minor fix (#1879)
Diffstat (limited to 'src/modules/m_ircv3.cpp')
| -rw-r--r-- | src/modules/m_ircv3.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_ircv3.cpp b/src/modules/m_ircv3.cpp index e23999045..d06412266 100644 --- a/src/modules/m_ircv3.cpp +++ b/src/modules/m_ircv3.cpp @@ -165,13 +165,8 @@ class ModuleIRCv3 void OnUserBack(User* user) CXX11_OVERRIDE { - if (!joinhook.awaycap.IsActive()) - return; - // Back from away: n!u@h AWAY - AwayMessage msg(user); - ClientProtocol::Event awayevent(joinhook.awayprotoev, msg); - IRCv3::WriteNeighborsWithCap(user, awayevent, joinhook.awaycap); + OnUserAway(user); } Version GetVersion() CXX11_OVERRIDE |
