aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/uid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-4/+4
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-271-1/+1
|
* Clean up User::FormatModes(), rename to GetModeLetters()Gravatar Attila Molnar2016-12-301-1/+1
| | | | Prefix the returned string with '+'
* Deduplicate nickname overruling codeGravatar Attila Molnar2016-12-301-6/+2
| | | | Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree
* Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolGravatar Attila Molnar2016-08-291-1/+1
|
* m_spanningtree Add class SpanningTree::RemoteUserGravatar Attila Molnar2016-03-291-1/+2
|
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | parameters
* m_spanningtree Log nick collisions more verbosely and in all casesGravatar Attila Molnar2015-05-231-3/+1
|
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-6/+4
|
* m_spanningtree Keep track of whether servers are behind a bursting server, ↵Gravatar Attila Molnar2014-07-271-1/+1
| | | | use it to implement quietbursts
* m_spanningtree Replace direct access of TreeServer::bursting with IsBursting()Gravatar Attila Molnar2014-07-271-1/+1
|
* m_spanningtree Set the TS of the uuid nick to the same value on collisionGravatar Attila Molnar2014-07-261-1/+3
|
* m_spanningtree Return a bool from DoCollision()Gravatar Attila Molnar2014-07-261-3/+3
| | | | The return value is true if the remote user or both have to change, false if only we have to change
* m_spanningtree Update comments around collision handlingGravatar Attila Molnar2014-07-261-5/+4
|
* m_spanningtree Update nick overrule on UID code to make sense on masterGravatar Attila Molnar2014-07-251-2/+2
|
* Merge insp20Gravatar Attila Molnar2014-07-251-1/+12
|\
| * m_spanningtree Always treat the remote client as the winner on nick ↵Gravatar Attila Molnar2014-07-241-3/+14
| | | | | | | | collision if the nick is used by a (local) client that isn't fully registered
* | m_spanningtree Use vector back() where it makes senseGravatar Attila Molnar2014-06-141-1/+1
| |
* | Switch to std::string::compare() from substr() in a couple of placesGravatar Attila Molnar2014-05-261-1/+1
| |
* | m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSGravatar Attila Molnar2014-04-161-6/+2
| | | | | | | | Throws a ProtocolException if the input is invalid
* | m_spanningtree Throw an exception on protocol violations instead of ↵Gravatar Attila Molnar2014-04-161-17/+7
| | | | | | | | | | | | returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
* | Rewrite clone counting to use one map instead of twoGravatar Attila Molnar2014-03-171-1/+1
| |
* | Change allocation of UserManager::clientlist to be physically part of the ↵Gravatar Attila Molnar2014-03-151-1/+1
| | | | | | | | object containing it
* | Add UserManager::GetUsers()Gravatar Attila Molnar2014-03-151-4/+3
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-4/+4
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-0/+14
| |
* | m_spanningtree Allow server-to-server command handlers to specify whether ↵Gravatar attilamolnar2013-08-251-15/+5
| | | | | | | | | | | | 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-12/+7
| | | | | | | | 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.
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-1/+0
| |
* | Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵Gravatar attilamolnar2013-08-091-3/+3
| | | | | | | | | | | | ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-1/+1
| |
* | Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-3/+3
| | | | | | | | | | | | | | | | The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵Gravatar attilamolnar2013-07-011-1/+1
| | | | | | | | with ModeHandlers, part 1
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
| |
* | m_spanningtree UID handler: Fix parsing user modesGravatar attilamolnar2013-05-141-3/+5
| | | | | | | | | | Spotted by @ShutterQuick Issue #532
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-3/+0
| |
* | m_spanningtree Remove encapsulation on UserCount/OperCountGravatar attilamolnar2013-04-121-1/+1
| |
* | m_spanningtree UID handler: Log and drop the link when a server introduces a ↵Gravatar attilamolnar2013-04-121-21/+23
| | | | | | | | user with an unknown user mode
* | m_spanningtree UID handler: Remove dead codeGravatar attilamolnar2013-04-121-11/+5
| |
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
| |
* | Change User::GetIPString() to return const std::string&Gravatar attilamolnar2013-04-011-1/+1
|/
* m_spanningtree Remove redundant params.size() checksGravatar attilamolnar2012-11-281-9/+0
| | | | TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-211-1/+1
|
* m_spanningtree Call the collision handler with the proper parameter (client ↵Gravatar attilamolnar2012-07-011-1/+1
| | | | ip instead of modestring) when a nick collides at burst
* Be consistent with Robby's qQ snomask changesGravatar Sir Poggles2012-06-121-1/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
|
* Prevent using invalid UIDs and enforce UID/SID matchingGravatar Daniel De Graaf2010-04-111-4/+8
|
* Log duplicate UUID events a bit betterGravatar danieldg2010-03-021-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12580 e03df62e-2008-0410-955e-edbf42e46eb7
* Make UID modify its parameter on a nick collision so that services has an ↵Gravatar danieldg2010-02-111-5/+4
| | | | | | easier time understanding things git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12433 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a few needless string crops, compile fixGravatar danieldg2010-01-301-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12329 e03df62e-2008-0410-955e-edbf42e46eb7