summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index d3a43cd8a..ca0656e06 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -640,9 +640,10 @@ class CoreExport Module : public Extensible
/** Called when a user requests info for a channel
* @param source The user requesting info
* @param ci The channel the user is requesting info for
+ * @param info Data to show the user requesting information
* @param ShowHidden true if we should show the user everything
*/
- virtual void OnChanInfo(CommandSource &source, ChannelInfo *ci, bool ShowHidden) { }
+ virtual void OnChanInfo(CommandSource &source, ChannelInfo *ci, InfoFormatter &info, bool ShowHidden) { }
/** Called on cs_findchan()
* @param chname The name being looked up
@@ -758,9 +759,10 @@ class CoreExport Module : public Extensible
/** Called when a user requests info for a nick
* @param source The user requesting info
* @param na The nick the user is requesting info from
+ * @param info Data to show the user requesting information
* @param ShowHidden true if we should show the user everything
*/
- virtual void OnNickInfo(CommandSource &source, NickAlias *na, bool ShowHidden) { }
+ virtual void OnNickInfo(CommandSource &source, NickAlias *na, InfoFormatter &info, bool ShowHidden) { }
/** Called in findnick()
* Useful to modify the na returned by findnick()