summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-25 12:40:21 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-25 12:40:21 +0100
commit1db0e984be491125d8f954aa22f17cad1d4c453f (patch)
treee60fea152f40c36b975472725f40eb89c76cf7fd /include
parentf3f8eae2cd68d8ce2c57f5df58db5833fb659cf5 (diff)
Add Channel* parameter to OnSendWhoLine
Diffstat (limited to 'include')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
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<std::string>& params, User* user, std::string& line);
+ virtual void OnSendWhoLine(User* source, const std::vector<std::string>& 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.