1
0
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:
k4be
2021-07-17 18:07:02 +02:00
parent b6bd9a4d97
commit 3a9e4f98ac
4 changed files with 52 additions and 7 deletions
+1
View File
@@ -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!!) */