diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-12-06 11:24:39 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-12-06 11:24:39 +0100 |
commit | fd87f9f073dff6e2f21a92c96144fb6c0a46e8e3 (patch) | |
tree | 2021c3870d73f62bcb5b6df1f644a7eec3260c80 /include | |
parent | f307c873e00a11de74bea348fff6bc29b08768d9 (diff) |
Add minimum channel rank and exception list parameters to the OnUserInvite hook
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 93e5c05a0..526c283b2 100644 --- a/include/modules.h +++ b/include/modules.h @@ -487,8 +487,10 @@ class CoreExport Module : public classbase, public usecountbase * @param dest The user being invited * @param channel The channel the user is being invited to * @param timeout The time the invite will expire (0 == never) + * @param notifyrank Rank required to get an invite announcement (if enabled) + * @param notifyexcepts List of users to not send the default NOTICE invite announcement to */ - virtual void OnUserInvite(User* source,User* dest,Channel* channel, time_t timeout); + virtual void OnUserInvite(User* source, User* dest, Channel* channel, time_t timeout, unsigned int notifyrank, CUList& notifyexcepts); /** Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done. * Returning any nonzero value from this function stops the process immediately, causing no |