InspIRCd Robot
cdd3226bef
Update copyright headers.
2025-02-28 14:30:22 +00:00
Sadie Powell
ec57c7545d
Move RPL_TIME to the numeric header, unify TIME and ALLTIME.
2025-02-05 12:02:38 +00:00
Sadie Powell
414a086449
All core numerics should be in numeric.h not in .cpp files.
2024-10-26 15:26:59 +01:00
Sadie Powell
8b02fef312
Fix a minor doxygen warning.
2024-08-27 13:32:30 +01:00
Sadie Powell
05cea6f835
Fix formatting strings on C++20 compilers.
2024-08-22 09:41:36 +01:00
Sadie Powell
15e7db5a21
Add Numeric::push_fmt(...) as shorthand for push(INSP_FORMAT(...)).
2024-08-18 16:30:55 +01:00
InspIRCd Robot
ae3e2db109
Update copyright headers.
2024-06-07 10:37:56 +01:00
Sadie Powell
84b7583107
Merge branch 'insp3' into master.
2024-06-03 19:57:01 +01:00
Sadie Powell
7b3e961782
Make it easier to add tags to a numeric.
2022-11-30 02:22:51 +00:00
Sadie Powell
7a623b0663
Use T&&
instead of T
or const T&
.
2022-11-29 06:09:01 +00:00
Sadie Powell
ee44af8d04
Refactor the internals of the oper system.
...
- Allow overriding privileges from the <class> blocks in the <type>
and <oper> blocks.
- Separate oper types from oper accounts in the code. This enables
moving some core stuff out of the config tag later.
- Merge the config tags together to make a synthetic tag that can
have getXXX called on it instead of using getConfig and then
converting it.
- Move the details of Have*Permission into the oper type class.
- Improve oper events to allow modules to easily hook into the oper
system.
2022-11-28 02:57:50 +00:00
Sadie Powell
023e3bd22e
Merge branch 'insp3' into master.
2022-09-12 23:26:22 +01:00
Sadie Powell
8c59961acc
Move numeric helper classes to their own header.
2022-06-26 15:56:55 +01:00
Sadie Powell
89712e2e84
Move numerics to the source files where they are actually used.
2022-06-26 15:29:29 +01:00
Sadie Powell
d79147e7af
Abolish the infernal space before accessibility keywords.
2022-01-25 14:02:36 +00:00
Sadie Powell
86cfb2375b
Use parameter pack expansion instead of recursive calls.
2021-04-27 02:54:56 +01:00
Sadie Powell
7d84e4900f
Fix a ton of pedantic compiler warnings.
2021-04-04 23:42:15 +01:00
Sadie Powell
98e4ddfb21
Use C++11 inline initialisation for class members.
2020-02-06 11:25:42 +00:00
Sadie Powell
1de6f5b4a9
Merge branch 'insp3' into master.
2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +00:00
Sadie Powell
0fab643858
Convert repetitive functions to use C++11 variadic templates.
2019-01-25 15:17:37 +00:00
Peter Powell
384ef31bc0
Use CommandBase::Params instead of std::vector<std::string>.
...
This is presently a typedef but will soon be replaced with a class
that encapsulates both tags and parameters.
2018-07-26 20:12:14 +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
B00mX0r
026c579e4c
Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics
...
Per #1122
2017-12-22 00:35:09 -08:00
Attila Molnar
ee7567584e
Make source server settable in Numeric::Numeric
2016-02-25 16:28:58 +01:00
Attila Molnar
28dcc1f9e0
Add Numeric::Numeric
2016-02-25 15:25:02 +01:00