diff options
| author | 2023-07-15 10:44:08 +0100 | |
|---|---|---|
| committer | 2023-07-15 10:44:08 +0100 | |
| commit | 7aceb1ee79875519203043b8215fe73b8b503f40 (patch) | |
| tree | 4a28e17d65d54239d813551b4abb475916df03d5 /src/modules | |
| parent | Update copyright headers. (diff) | |
If a watched user appears whilst away then also send RPL_GONEAWAY.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_watch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 803bd2c40..433225fed 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -207,6 +207,8 @@ class ModuleWatch void Online(User* user) { SendAlert(user, user->nick, RPL_LOGON, "arrived online", user->age); + if (!user->awaymsg.empty()) + OnUserAway(user); } void Offline(User* user, const std::string& nick) |
