aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ircv3.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-06-13 14:46:41 +0100
committerGravatar Sadie Powell2021-06-13 14:46:41 +0100
commit7fa0672ebde614218a18600686370ac234e67bf0 (patch)
treefd8933975ec00af7373b890d0171f7350fab6f83 /src/modules/m_ircv3.cpp
parentFix undefined behaviour with converting a path to a string. (diff)
parentPoint to the license on the docs site not to the GNU website. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_ircv3.cpp')
-rw-r--r--src/modules/m_ircv3.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_ircv3.cpp b/src/modules/m_ircv3.cpp
index 802ca99d9..7930a5096 100644
--- a/src/modules/m_ircv3.cpp
+++ b/src/modules/m_ircv3.cpp
@@ -166,13 +166,8 @@ class ModuleIRCv3
void OnUserBack(User* user) 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);
}
};