aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/servercommand.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.