mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 23:23:12 +02:00
Add option for notifying chanops about invitations by normal users.
Normally, channel operators are only notified when another chanop invites someone to their channel - as this would allow the user to join the channel later if it becomes invite-only. This is still the default behaviour. But now, it can be configured to notify operators about any invitation done to their channel, eitner by another op or by normal user. This will allow them to see whether someone floods others with invitations to their channels. Enable the option with set::normal-user-invite-notification yes;
This commit is contained in:
@@ -339,6 +339,7 @@ int parse_quoted_string(char *buf, char *dest, size_t destlen)
|
||||
return 1;
|
||||
}
|
||||
|
||||
#undef CheckNull
|
||||
#define CheckNull(x) if ((!(x)->ce_vardata) || (!(*((x)->ce_vardata)))) { config_error("%s:%i: missing parameter", m->name, (x)->ce_varlinenum); return 0; }
|
||||
|
||||
/** Parse a module { } line from a module (not repo!!) */
|
||||
|
||||
Reference in New Issue
Block a user