summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/servercommand.h
AgeCommit message (Collapse)Author
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2015-12-06m_spanningtree Implement ServerCommand::RegisterService()Attila Molnar
2014-04-16m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSAttila Molnar
Throws a ProtocolException if the input is invalid
2014-04-16m_spanningtree Throw an exception on protocol violations instead of ↵Attila Molnar
returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2013-08-27Fix indentationattilamolnar
2013-08-25m_spanningtree Allow server-to-server command handlers to specify whether ↵attilamolnar
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()
2013-08-18m_spanningtree Move all server-to-server command handlers into handler classesattilamolnar
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.