summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 6ec1a8ad4..bb9a55dbf 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1270,11 +1270,12 @@ class CoreExport Module : public classbase, public usecountbase
/** Called whenever a result from /WHO is about to be returned
* @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 channel The channel being queried (or NULL if not a channel query)
* @param line The raw line to send; modifiable, if empty no line will be returned.
*/
- virtual void OnSendWhoLine(User* source, User* user, Channel* channel, std::string& line);
+ virtual void OnSendWhoLine(User* source, const std::vector<std::string>& params, User* user, Channel* channel, std::string& line);
/** Called to check whether a channel restriction mode applies to a user on it
* @return MOD_RES_DENY to apply the restriction, MOD_RES_ALLOW to bypass