Tweak auto-accept:
* does not apply to NOTICE (as those may well be automated) * mirrors +g behaviour so that no useless accept entries are added for services * respects max_accept, if it would be exceeded the message is dropped with numeric 494 * check moved up so this is checked before floodcount/tgchange
This commit is contained in:
parent
0770c9936e
commit
f5455d2cd5
3 changed files with 29 additions and 12 deletions
|
@ -297,6 +297,8 @@ extern const char *form_str(int);
|
|||
|
||||
#define ERR_NOOPERHOST 491
|
||||
|
||||
#define ERR_OWNMODE 494 /* from bahamut -- jilles */
|
||||
|
||||
#define ERR_UMODEUNKNOWNFLAG 501
|
||||
#define ERR_USERSDONTMATCH 502
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue