aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/svsnick.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move SVSJOIN/SVSNICK/SVSPART to the services module.Gravatar Sadie Powell2024-02-271-78/+0
|
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
|
* Rename User::age to User::nickchanged and fix the docs.Gravatar Sadie Powell2022-10-111-1/+1
|
* Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-1/+1
|
* Always use ExtractTS to extract timestamps from S2S messages.Gravatar Sadie Powell2021-09-101-5/+2
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-071-0/+1
|\|
| * Send RPL_SAVENICK from irc2 when renaming a user to their UUID.Gravatar Sadie Powell2020-12-221-0/+1
| |
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-3/+3
| |
* | Move FindNick to UserManager.Gravatar Sadie Powell2020-02-091-1/+1
|/
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+5
|
* Replace all abstract usages of his/he/her with they/their/it.Gravatar Peter Powell2019-06-071-1/+1
|
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Gravatar Peter Powell2018-12-121-2/+2
| | | | | | | The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Simplify GetRouting() methods doing unicastGravatar Attila Molnar2016-03-291-4/+1
|
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-1/+1
|
* m_spanningtree Add optional expected nick TS parameter to SVSNICKGravatar Attila Molnar2014-07-051-0/+23
| | | | Drop SVSNICK if the expected nick TS is present and it does not match the user's nick timestamp
* User::ChangeNick() cannot fail if the new nick is the uuid, document this ↵Gravatar Attila Molnar2014-07-031-4/+1
| | | | and rely on it
* Remove now needless User::ForceNickChange()Gravatar Attila Molnar2014-07-031-2/+2
| | | | Change call sites to call ChangeNick()
* m_spanningtree Remove remains of the KeepNickTS workaroundGravatar Attila Molnar2014-03-031-9/+0
|
* Update nick timestamps in User::ChangeNick(), pass the new TS in a parameterGravatar Attila Molnar2014-03-031-2/+1
|
* Merge insp20Gravatar Attila Molnar2014-01-211-2/+14
|\
| * m_spanningtree Fix nick TS desync on SVSNICKGravatar Attila Molnar2013-12-151-2/+13
| | | | | | | | Don't accept invalid timestamps
* | m_spanningtree Move all server-to-server command handlers into handler classesGravatar attilamolnar2013-08-181-1/+1
| | | | | | | | 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.
* | 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-2/+0
| |
* | m_spanningtree atoi() to ConvToInt() conversion, add const where possibleGravatar attilamolnar2013-04-121-1/+1
|/ | | | Remove two redundant functions from Utils
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
|
* If SVSNICK is sent to force a change to a UID-lookalike, just change nick to ↵Gravatar danieldg2010-01-241-3/+4
| | | | | | UID. Fixes bug #932 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12318 e03df62e-2008-0410-955e-edbf42e46eb7
* ...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
* Remove special-case handling of SVSNICK, SVSJOIN, SVSPART; enables ↵Gravatar danieldg2010-01-021-31/+21
| | | | | | intelligent routing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12238 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-211-2/+2
| | | | | | | | | | | | | | 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
* Change cmd_*.so to use the Module object APIGravatar danieldg2009-09-031-2/+0
| | | | | | | | | | | | | | Create Module* objects for each command, and load them like modules. This unifies the external API for modules. Library directory is now deprecated: all modules are located in a single module directory. Header files for each command are no longer needed; remove. This also fixes two potential segfaults in m_spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7
* Add SAVE s2s protocol commandGravatar danieldg2009-09-021-1/+1
| | | | 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-2/+2
| | | | 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-5/+5
| | | | 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
* 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
* Match conversion stuff.Gravatar w00t2008-08-221-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert automated conversion by Special, as it (unfortunately) neglects some ↵Gravatar w00t2008-08-221-0/+1
| | | | | | details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist ↵Gravatar special2008-08-221-1/+0
| | | | | | anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix total mess of makefile dependency macros (all depending on stuff they ↵Gravatar brain2008-07-191-4/+1
| | | | | | | | | dont NEED to depend on) and fix includes in all of m_spanningtree (everything including just about everything, doesnt need to) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10046 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert m_spanningtreeGravatar aquanight2008-05-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9751 e03df62e-2008-0410-955e-edbf42e46eb7
* Move QuitUser into UserManager class, and unstaticize it. This prepares for ↵Gravatar w00t2008-04-091-1/+1
| | | | | | some benchmarking lulz on object pooling I plan to do today, as well as making more sense now we *have* a manager class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7
* Split treesocket2 into various smaller filesGravatar w00t2008-02-041-0/+68
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8814 e03df62e-2008-0410-955e-edbf42e46eb7