17 Commits

Author SHA1 Message Date
Sadie Powell
6cfabb0064 Hide the server name/desc better when <options:hideserver> is set. 2020-12-20 03:05:29 +00:00
Sadie Powell
2c9ebe040c Make the ERR_CANNOTSENDTOCHAN extban message less misleading. 2020-07-30 12:00:16 +01:00
InspIRCd Robot
44489ddf7e Update copyright headers. 2020-04-24 10:23:47 +01:00
Sadie Powell
ba30c383ba Fix Numerics::CannotSendTo sending the wrong numeric for users. 2020-04-06 20:34:44 +01:00
Sadie Powell
cbe5b99314 Add the Numerics::CannotSendTo class and switch stuff to use it. 2020-04-04 12:31:14 +01:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Peter Powell
eaea34e987 Send * for empty targets in the no such nick/channel message. 2019-12-03 12:09:15 +00:00
Peter Powell
9433e34b21 Show the mode syntax in ERR_INVALIDMODEPARAM. 2019-06-12 21:52:58 +01:00
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