aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/uid.cpp
Commit message (Expand)AuthorAgeFilesLines
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-4/+4
* 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()•••Prefix the returned string with '+' Gravatar Attila Molnar2016-12-301-1/+1
* Deduplicate nickname overruling code•••Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree Gravatar Attila Molnar2016-12-301-6/+2
* 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
* 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, us...Gravatar Attila Molnar2014-07-271-1/+1
* 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()•••The return value is true if the remote user or both have to change, false if only we have to change Gravatar Attila Molnar2014-07-261-3/+3
* 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 collision...Gravatar Attila Molnar2014-07-241-3/+14
* | 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 TS•••Throws a ProtocolException if the input is invalid Gravatar Attila Molnar2014-04-161-6/+2
* | m_spanningtree Throw an exception on protocol violations instead of returning...•••Catch CoreExceptions, log and close the link in OnDataReady() Gravatar Attila Molnar2014-04-161-17/+7
* | 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 obj...Gravatar Attila Molnar2014-03-151-1/+1
* | Add UserManager::GetUsers()Gravatar Attila Molnar2014-03-151-4/+3
* | Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-4/+4
* | m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-0/+14
* | m_spanningtree Allow server-to-server command handlers to specify whether the...•••To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer() Gravatar attilamolnar2013-08-251-15/+5
* | m_spanningtree Move all server-to-server command handlers into handler classes•••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. Gravatar attilamolnar2013-08-181-12/+7
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-1/+0
* | Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and Chan...•••Pass the string itself to IsIdent() instead of string.c_str() Gravatar attilamolnar2013-08-091-3/+3
* | 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.•••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. Gravatar Peter Powell2013-08-041-3/+3
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-011-1/+1
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
* | m_spanningtree UID handler: Fix parsing user modes•••Spotted by @ShutterQuick Issue #532 Gravatar attilamolnar2013-05-141-3/+5
* | 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
* | 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() checks•••TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters Gravatar attilamolnar2012-11-281-9/+0
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-211-1/+1
* m_spanningtree Call the collision handler with the proper parameter (client i...Gravatar attilamolnar2012-07-011-1/+1
* 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 better•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12580 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-021-0/+1
* Make UID modify its parameter on a nick collision so that services has an eas...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12433 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-111-5/+4
* Remove a few needless string crops, compile fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12329 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-301-5/+5