aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
Commit message (Expand)AuthorAgeFilesLines
* Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-1/+2
* 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. Gravatar Sadie Powell2022-11-281-1/+1
* 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.•••These are already accessible from the user object. Gravatar Sadie Powell2022-05-071-1/+1
* 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.•••- 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. Gravatar Peter Powell2019-04-261-8/+19
* | 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>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-2/+2
* Always process MOTD formatting escape codes.•••The options for disabling these were added to keep compatibility with previous 2.0 releases and are not needed any more. Gravatar Peter Powell2018-04-221-3/+1
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-2/+2
* Convert uncontroversial anonymous numerics to use constants.Gravatar Peter Powell2017-09-061-3/+3
* Ensure server names passed to some commands are really server namesGravatar Attila Molnar2016-03-291-1/+1
* Add User::WriteRemoteNumeric() and switch code using SendText() to send numer...Gravatar Attila Molnar2016-02-251-5/+4
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-5/+0
* Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-2/+1
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* Clean up the FileReader class and all of the modules that use it.•••- Modules which use this class will now have to catch a CoreException when opening files if they wish to ignore the failed loading of a file. - m_randquote has been cleaned up massively and the RANDQUOTE command has been removed as it was pretty much useless. Gravatar Peter Powell2013-05-271-3/+9
* Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-151-4/+4
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-021-1/+1
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1