From e64ace4c8279084a7d168ee1f9e50156b93fa2c7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 3 Feb 2023 09:26:31 +0000 Subject: Expose the removed away message in OnUserBack. --- src/modules/m_watch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_watch.cpp') 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()); } -- cgit v1.3.1-10-gc9f91