From 23e62cef071f8d037b2d163d60bcc85f5887776c Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 1 Feb 2010 01:31:40 +0000 Subject: Add parameters to OnSendWhoLine hook, fixes "/who * o" returning opers with +H git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12345 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/modules.h') 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& 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 -- cgit v1.2.3