aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-5/+3
|
* Replace FileReader with something more sensible.Gravatar Sadie Powell2023-07-031-10/+5
|
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-2/+2
|
* Remove some more unnecessary things from the global headers.Gravatar Sadie Powell2023-01-141-0/+1
|
* Const correct various functions.Gravatar Sadie Powell2023-01-111-1/+1
|
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
| |
* | Move <oper:autologin> from m_sslinfo to core_oper and rework.Gravatar Sadie Powell2022-12-111-1/+1
| | | | | | | | | | | | | | | | - Promote autologin to a core concept with visibility in events. - Replace the binary yes/no value with strict/relaxed/never. This intentionally breaks v3 oper block autologin as admins will need to review them for the security implications of the new behaviour.
* | Add support for per-oper/opertype operator MOTDs.Gravatar Sadie Powell2022-12-091-39/+70
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-091-2/+11
|\|
| * Fix sending malformed MOTD and showfile messages to clients.Gravatar Sadie Powell2022-12-091-6/+14
| |
* | Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-1/+2
| |
* | Refactor the internals of the oper system.Gravatar Sadie Powell2022-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | More const correctness.Gravatar Sadie Powell2022-10-231-1/+1
| |
* | Avoid file_cache in opermotd and showfile.Gravatar Sadie Powell2022-10-121-1/+1
| |
* | Remove unnecessary arguments to On(Post)Oper.Gravatar Sadie Powell2022-05-071-1/+1
| | | | | | | | These are already accessible from the user object.
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-3/+3
| |
* | Mark all command classes as final.Gravatar Sadie Powell2021-10-011-1/+2
| |
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
| |
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
| |
* | Kill some useless comments.Gravatar Sadie Powell2021-05-131-2/+0
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-6/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+2
| |
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
| |
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-1/+1
| |
* | Replace the flags_required field with an enum.Gravatar Sadie Powell2020-04-141-1/+1
| |
* | Alow modules to specify multiple syntax lines.Gravatar Sadie Powell2020-04-141-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-7/+4
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-091-1/+1
|\|
| * Set the minimum length to 1 for most config items with a default.Gravatar Sadie Powell2020-04-091-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-03-181-1/+2
|\|
| * Fix unnecessary inlining in command handler constructors.Gravatar Sadie Powell2020-03-091-1/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-041-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
| |
| * Remove the preceding - in messages sent by opermotd and showfile.Gravatar Sadie Powell2020-01-241-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-4/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+7
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-8/+20
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-4/+4
| |
| * Fix hiding ERR_NOOPERMOTD response when an operator logs in.Gravatar Peter Powell2019-04-271-2/+3
| |
| * Fix the numerics used by the opermotd module.Gravatar Peter Powell2019-04-261-8/+19
| | | | | | | | | | | | - Use ERR_NOOPERMOTD from UnrealIRCd and RPL_OMOTDSTART, RPL_OMOTD, and RPL_ENDOFOMOTD from ircd-ratbox. - Only send ERR_NOOPERMOTD in response to the command.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-02-051-1/+1
|\|
| * Fix not checking for server names case insensitively.Gravatar Peter Powell2019-01-281-1/+1
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-5/+5
|/
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Always process MOTD formatting escape codes.Gravatar Peter Powell2018-04-221-3/+1
| | | | | The options for disabling these were added to keep compatibility with previous 2.0 releases and are not needed any more.