InspIRCd Robot
ae3e2db109
Update copyright headers.
2024-06-07 10:37:56 +01:00
Sadie Powell
ee633a943c
Replace foo.erase(foo.{size|end}()-1) with foo.pop_back().
2022-10-01 22:15:23 +01:00
Sadie Powell
8c59961acc
Move numeric helper classes to their own header.
2022-06-26 15:56:55 +01:00
Sadie Powell
c31e4c6a97
Add a typedef for a mode rank.
2022-05-17 13:45:18 +01:00
Sadie Powell
d7912e6a3e
Merge branch 'insp3' into master.
2022-04-29 11:24:05 +01:00
InspIRCd Robot
346ec99c43
Update copyright headers.
2022-04-28 18:49:16 +01:00
Sadie Powell
9fbcb685e8
Merge branch 'insp3' into master.
2022-04-21 16:32:29 +01:00
Sadie Powell
30edd1070d
Merge branch 'insp3' into master.
2022-04-16 16:16:29 +01:00
Sadie Powell
7266f8681d
Add a numeric builder for the ERR_CHANOPRIVSNEEDED numeric.
...
This should make privilege errors more consistent.
2022-04-12 12:48:54 +01:00
Sadie Powell
d79147e7af
Abolish the infernal space before accessibility keywords.
2022-01-25 14:02:36 +00:00
Sadie Powell
421e8c8c79
Add the final keyword to all remaining classes that can have it.
2021-12-20 20:19:40 +00:00
Sadie Powell
a63b6e16df
Merge branch 'insp3' into master.
2020-12-21 16:40:52 +00:00
Sadie Powell
6cfabb0064
Hide the server name/desc better when <options:hideserver> is set.
2020-12-20 03:05:29 +00:00
Sadie Powell
73b4ac1b3a
Merge branch 'insp3' into master.
2020-08-25 10:46:42 +01:00
Sadie Powell
2c9ebe040c
Make the ERR_CANNOTSENDTOCHAN extban message less misleading.
2020-07-30 12:00:16 +01:00
Sadie Powell
b755d2a778
Merge branch 'insp3' into master.
2020-05-05 22:03:14 +01:00
InspIRCd Robot
44489ddf7e
Update copyright headers.
2020-04-24 10:23:47 +01:00
Sadie Powell
442101525b
Rename ERR_CANTSENDTOUSER to match the channel numeric name.
2020-04-11 17:30:55 +01:00
Sadie Powell
e1ed9b275f
Merge branch 'insp3' into master.
2020-04-09 18:06:50 +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
Sadie Powell
98e4ddfb21
Use C++11 inline initialisation for class members.
2020-02-06 11:25:42 +00: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