9 Commits

Author SHA1 Message Date
Peter Powell
d5a6054948 Add ERR_INVALIDMODEPARAM for responding to invalid mode params.
Currently on invalid modes we do a combination of different things:

1. Send a custom mode-specific numeric (which often collides with
   other modes).

2. Send a server notice.

3. Do absolutely nothing.

This new numeric is a generic way of handling invalid parameters
when setting a mode that avoids all of the mistakes of the previous
behaviour.
2018-01-29 11:52:13 +00:00
Attila Molnar
e33e8bcdf8 Merge branches 'master+check' and 'master+namedmodes' 2016-03-22 18:38:17 +01:00
Attila Molnar
3aa92b8d13 Add Numeric::ParamBuilder
It builds numerics where the individual components are parameters of the numeric
2016-03-22 16:40:05 +01:00
Attila Molnar
5801272a4a m_check Refactor, move to the new RPL_CHECK numeric 2016-03-19 16:32:25 +01:00
Attila Molnar
266eb73475 Fix oversights in the WriteNumeric() parameter conversion 2016-03-19 16:20:01 +01:00
Attila Molnar
da29af8cba Convert WriteNumeric() calls to pass the parameters of the numeric as method parameters 2016-02-25 16:12:09 +01:00
Attila Molnar
28dcc1f9e0 Add Numeric::Numeric 2016-02-25 15:25:02 +01:00
Peter Powell
51464e095c Fix build errors on CentOS 6 and OpenBSD. 2016-02-20 14:34:32 +00:00
Attila Molnar
0854edb446 Add Numeric::Builder 2015-12-30 13:20:21 +01:00