aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/servercommand.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
|
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-5/+5
|
* Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-1/+1
|
* Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-5/+9
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-1/+2
|\
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+2
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-4/+4
| |
* | Replace the TR1NS macro with the std namespace.Gravatar Sadie Powell2019-01-251-1/+1
|/
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-4/+4
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-3/+3
| | | | GCCs warnings for this are much better than Clangs.
* Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* m_spanningtree Implement ServerCommand::RegisterService()Gravatar Attila Molnar2015-12-061-0/+4
|
* m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSGravatar Attila Molnar2014-04-161-0/+9
| | | | Throws a ProtocolException if the input is invalid
* m_spanningtree Throw an exception on protocol violations instead of ↵Gravatar Attila Molnar2014-04-161-2/+11
| | | | | | returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
* Introduce Server classGravatar Attila Molnar2014-01-051-3/+2
| | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* Fix indentationGravatar attilamolnar2013-08-271-5/+5
|
* m_spanningtree Allow server-to-server command handlers to specify whether ↵Gravatar attilamolnar2013-08-251-0/+44
| | | | | | they accept servers, remote users or both as the command source To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer()
* m_spanningtree Move all server-to-server command handlers into handler classesGravatar attilamolnar2013-08-181-0/+39
These commands are not registered in or called by the core. When looking for the handler of a command a new command table is searched first which contains all server-to-server commands. If a handler cannot be found in there, the core command table is consulted.