diff options
| author | 2023-02-03 09:26:31 +0000 | |
|---|---|---|
| committer | 2023-02-03 09:26:31 +0000 | |
| commit | e64ace4c8279084a7d168ee1f9e50156b93fa2c7 (patch) | |
| tree | 4630a6b5295c549e4974ced5a651febaf0ce2481 /include/modules | |
| parent | Allow bouncers to introduce a user as away. (diff) | |
Expose the removed away message in OnUserBack.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/away.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules/away.h b/include/modules/away.h index c6f3b94d1..e3323a707 100644 --- a/include/modules/away.h +++ b/include/modules/away.h @@ -65,8 +65,9 @@ public: /** Called when a user has returned from being away. * @param user The user who has returned from being away. + * @param message The away message that the user set. */ - virtual void OnUserBack(User* user) = 0; + virtual void OnUserBack(User* user, const std::string& message) = 0; }; class Away::EventProvider final |
