aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/nickcollide.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+5
|
* Get rid of CommandBuilder::push_back.Gravatar Peter Powell2019-07-191-2/+2
|
* 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()Gravatar Attila Molnar2014-07-261-9/+3
| | | | The return value is true if the remote user or both have to change, false if only we have to change
* 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 ↵Gravatar Attila Molnar2014-07-261-8/+2
| | | | | | collision Don't change it in DoCollision()
* m_spanningtree Replace manual string building of outgoing commands with ↵Gravatar Attila Molnar2014-07-031-1/+1
| | | | CmdBuilder where possible
* Remove now needless User::ForceNickChange()Gravatar Attila Molnar2014-07-031-2/+2
| | | | Change call sites to call ChangeNick()
* Increment serverstats::Collisions when a collision is handled, not when a ↵Gravatar Attila Molnar2014-06-201-0/+3
| | | | module denies a nick change
* 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 ↵Gravatar attilamolnar2013-08-221-1/+1
| | | | | | | | that can be used to talk to the server The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers
* m_spanningtree Move all server-to-server command handlers into handler classesGravatar attilamolnar2013-08-181-3/+5
| | | | 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.
* 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
| | | | instead of const char*
* 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.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-211-1/+1
| | | | | | | | | | | | | | 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
* Add SAVE s2s protocol commandGravatar danieldg2009-09-021-8/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11660 e03df62e-2008-0410-955e-edbf42e46eb7
* Replace std::deque with std::vector in spanningtree and related modulesGravatar danieldg2009-09-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix build of m_spanningtree and display of dependency regenerationGravatar danieldg2009-09-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. 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
* Send SVSNICKs during nick collision to prevent servers that do not fully ↵Gravatar danieldg2009-03-061-19/+30
| | | | | | implement collisions from killing users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11179 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Be consistent. Use ServerInstance in all places instead of 'Instance' in ↵Gravatar w00t2008-09-211-2/+2
| | | | | | half. This has bugged me forever :p. I think I got all of extra/ too.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7
* fixed some indentation and spacing in modulesGravatar pippijn2008-06-111-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't copy vars (faster) and also avoid a crash (non-const -> const)Gravatar w00t2008-05-231-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9795 e03df62e-2008-0410-955e-edbf42e46eb7
* Collision tweaksGravatar brain2008-05-231-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9790 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert m_spanningtreeGravatar aquanight2008-05-181-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9751 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove many unneeded headers from spanningtree filesGravatar w00t2008-02-111-14/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8895 e03df62e-2008-0410-955e-edbf42e46eb7
* Split treesocket1 into a number of smaller filesGravatar w00t2008-02-031-0/+137
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8809 e03df62e-2008-0410-955e-edbf42e46eb7