Clean up handling of oper server notices

This switches from somewhat gory string parsing based on strncmp() and next_arg() to a simpler alternative
based on sscanf().  I think these are much easier to understand now, and shouldn't have any subtle bugs
lurking like the old code.

This also removes support for some obsolete messages that don't seem to be in any modern ircds:
"Identd reponse differs"; bot messages like "Rejecting vlad/joh/com bot:" except for "is a possible spambot"
which is still in use; and the "High-traffic mode" messages.
This commit is contained in:
Kevin Easton
2016-05-07 00:44:29 +10:00
parent e53d1cab7b
commit df2e250ccf
4 changed files with 223 additions and 408 deletions

View File

@@ -1,5 +1,8 @@
[Changes 1.2.2]
* Clean up handling of oper server notices, including removing some
obsolete notice types (eg "high-traffic mode"). (caf)
* Unify handling of SWATCH NONE between OperView and non-OperView. (caf)
* Don't double-up server notices in the /RELS list. (caf)