aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-02-03 09:26:31 +0000
committerGravatar Sadie Powell2023-02-03 09:26:31 +0000
commite64ace4c8279084a7d168ee1f9e50156b93fa2c7 (patch)
tree4630a6b5295c549e4974ced5a651febaf0ce2481 /src/modules/m_watch.cpp
parentAllow bouncers to introduce a user as away. (diff)
Expose the removed away message in OnUserBack.
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r--src/modules/m_watch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index 43c2d1c85..bf35580d8 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -250,7 +250,7 @@ public:
SendAlert(user, user->nick, RPL_GONEAWAY, user->awaymsg.c_str(), user->awaytime);
}
- void OnUserBack(User* user) override
+ void OnUserBack(User* user, const std::string& message) override
{
SendAlert(user, user->nick, RPL_NOTAWAY, "is no longer away", ServerInstance->Time());
}