aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/nickcollide.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
* Normalise the case of ServerStats.Gravatar Sadie Powell2023-07-131-1/+1
* Retain the "real" username properly like we do for hostnames.•••This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations. Gravatar Sadie Powell2023-06-291-8/+8
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-2/+2
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-3/+3
* Rename User::age to User::nickchanged and fix the docs.Gravatar Sadie Powell2022-10-111-2/+2
* Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-2/+1
|\|
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+5
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-2/+2
|\|
| * Get rid of CommandBuilder::push_back.Gravatar Peter Powell2019-07-191-2/+2
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
|/
* m_spanningtree Log nick collisions more verbosely and in all casesGravatar Attila Molnar2015-05-231-1/+5
* m_spanningtree Set the TS of the uuid nick to the same value on collisionGravatar Attila Molnar2014-07-261-1/+2
* 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-9/+3
* m_spanningtree Replace WriteLine() call with Unicast() in DoCollision()Gravatar Attila Molnar2014-07-261-2/+1
* m_spanningtree Replace #defines with references in DoCollision()Gravatar Attila Molnar2014-07-261-5/+3
* m_spanningtree Update comments around collision handlingGravatar Attila Molnar2014-07-261-16/+9
* m_spanningtree Let the NICK handler change the nick of the incoming user on c...•••Don't change it in DoCollision() Gravatar Attila Molnar2014-07-261-8/+2
* m_spanningtree Replace manual string building of outgoing commands with CmdBu...Gravatar Attila Molnar2014-07-031-1/+1
* Remove now needless User::ForceNickChange()•••Change call sites to call ChangeNick() Gravatar Attila Molnar2014-07-031-2/+2
* Increment serverstats::Collisions when a collision is handled, not when a mod...Gravatar Attila Molnar2014-06-201-0/+3
* Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-1/+0
* m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-2/+3
* m_spanningtree Change TreeServer::GetSocket() to always return the socket tha...•••The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers Gravatar attilamolnar2013-08-221-1/+1
* 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-3/+5
* Remove $ModDep commentsGravatar attilamolnar2013-08-151-3/+0
* Change the signature of User::ForceNickChange() to accept const std::string& ...Gravatar attilamolnar2013-05-181-2/+2
* m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-3/+1
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Create StreamSocket for IO hooking implementation•••Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-1/+1
* Add SAVE s2s protocol command•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11660 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-8/+7
* Replace std::deque with std::vector in spanningtree and related modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-1/+1
* Fix build of m_spanningtree and display of dependency regeneration•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-3/+3
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Send SVSNICKs during nick collision to prevent servers that do not fully impl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-061-19/+30
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Be consistent. Use ServerInstance in all places instead of 'Instance' in half...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-211-2/+2
* fixed some indentation and spacing in modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar pippijn2008-06-111-9/+9
* Don't copy vars (faster) and also avoid a crash (non-const -> const)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-231-4/+4
* Collision tweaks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9790 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-231-5/+5
* Convert m_spanningtree•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9751 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-181-3/+3
* Remove many unneeded headers from spanningtree files•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8895 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-14/+4