summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/nick.cpp
AgeCommit message (Collapse)Author
2020-01-11Update copyright headers.InspIRCd Robot
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.
2016-08-19m_spanningtree Put command handlers with class names that collide with core ↵Attila Molnar
commands into the SpanningTree namespace This fixes issues in static builds
2015-05-23m_spanningtree Log nick collisions more verbosely and in all casesAttila Molnar
2014-07-26m_spanningtree Set the TS of the uuid nick to the same value on collisionAttila Molnar
2014-07-26m_spanningtree Don't accept NICK with 0 TSAttila Molnar
2014-07-26m_spanningtree Return a bool from DoCollision()Attila Molnar
The return value is true if the remote user or both have to change, false if only we have to change
2014-07-26m_spanningtree Update comments around collision handlingAttila Molnar
2014-07-26m_spanningtree Let the NICK handler change the nick of the incoming user on ↵Attila Molnar
collision Don't change it in DoCollision()
2014-07-25Merge insp20Attila Molnar
2014-07-03Remove now needless User::ForceNickChange()Attila Molnar
Change call sites to call ChangeNick()
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-03-03Update nick timestamps in User::ChangeNick(), pass the new TS in a parameterAttila Molnar
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
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.