summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h5
-rw-r--r--include/modules.h4
2 files changed, 3 insertions, 6 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 9b73dd3c6..fe1e5da9e 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -431,11 +431,6 @@ class CoreExport ServerConfig
*/
bool CycleHostsFromUser;
- /** If set to true, prefixed channel NOTICEs and PRIVMSGs will have the prefix
- * added to the outgoing text for undernet style msg prefixing.
- */
- bool UndernetMsgPrefix;
-
/** If set to true, the full nick!user\@host will be shown in the TOPIC command
* for who set the topic last. If false, only the nick is shown.
*/
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