From 1db0e984be491125d8f954aa22f17cad1d4c453f Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 25 Jan 2014 12:40:21 +0100 Subject: Add Channel* parameter to OnSendWhoLine --- include/modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index d221803ab..f6a984bcd 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1051,9 +1051,10 @@ class CoreExport Module : public classbase, public usecountbase * @param source The user running the /WHO query * @param params The parameters to the /WHO query * @param user The user that this line of the query is about + * @param chan The channel in this line, can be NULL * @param line The raw line to send; modifiable, if empty no line will be returned. */ - virtual void OnSendWhoLine(User* source, const std::vector& params, User* user, std::string& line); + virtual void OnSendWhoLine(User* source, const std::vector& params, User* user, Channel* chan, std::string& line); /** Called whenever a local user's IP is set for the first time, or when a local user's IP changes due to * a module like m_cgiirc changing it. -- cgit v1.2.3