]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
9 years agoAdd m_hidelist that allows hiding the lists of listmodes
Attila Molnar [Wed, 10 Sep 2014 12:50:57 +0000 (14:50 +0200)]
Add m_hidelist that allows hiding the lists of listmodes

9 years agocmode_l Reject negative limits
Attila Molnar [Fri, 5 Sep 2014 13:37:49 +0000 (15:37 +0200)]
cmode_l Reject negative limits

9 years agom_services_account Fix uninitialized variable usage introduced by insp20 merge e244cb...
Attila Molnar [Fri, 5 Sep 2014 13:32:04 +0000 (15:32 +0200)]
m_services_account Fix uninitialized variable usage introduced by insp20 merge e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804

9 years agom_samode Simplify command handler logic
Attila Molnar [Fri, 5 Sep 2014 13:20:44 +0000 (15:20 +0200)]
m_samode Simplify command handler logic

9 years agoUnset oper-only modes in User::UnOper() in a more sensible way
Attila Molnar [Fri, 5 Sep 2014 13:06:21 +0000 (15:06 +0200)]
Unset oper-only modes in User::UnOper() in a more sensible way

Get the user mode list from the ModeParser instead of trying all possible mode letters

9 years agocmd_mode Exempt remote users and servers from max modes limitation when changing...
Attila Molnar [Thu, 4 Sep 2014 11:33:45 +0000 (13:33 +0200)]
cmd_mode Exempt remote users and servers from max modes limitation when changing user modes

9 years agoMigrate code from ModeParser into cmd_mode (core_user)
Attila Molnar [Thu, 4 Sep 2014 11:30:01 +0000 (13:30 +0200)]
Migrate code from ModeParser into cmd_mode (core_user)

- Process() that takes a std::vector<std::string>
- DisplayCurrentModes()
- DisplayListModes()

9 years agocore_user Expand the MODE handler into its own file
Attila Molnar [Thu, 4 Sep 2014 11:11:48 +0000 (13:11 +0200)]
core_user Expand the MODE handler into its own file

9 years agoSplit ModeParser::DisplayListMode() into two parts
Attila Molnar [Thu, 4 Sep 2014 11:08:22 +0000 (13:08 +0200)]
Split ModeParser::DisplayListMode() into two parts

ShowListModeList() sends the list of one listmode to a user, DisplayListMode() calls it for each mode letter

9 years agoRemove unused parameter passed to ModeParser::DisplayCurrentModes()
Attila Molnar [Thu, 4 Sep 2014 11:05:13 +0000 (13:05 +0200)]
Remove unused parameter passed to ModeParser::DisplayCurrentModes()

9 years agom_namedmodes Build and process a Modes::ChangeList when handling PROP
Attila Molnar [Thu, 4 Sep 2014 11:04:01 +0000 (13:04 +0200)]
m_namedmodes Build and process a Modes::ChangeList when handling PROP

9 years agoPass Modes::ChangeList references to the OnPreMode hook, make it modifiable
Attila Molnar [Thu, 4 Sep 2014 10:58:25 +0000 (12:58 +0200)]
Pass Modes::ChangeList references to the OnPreMode hook, make it modifiable

This gets rid of the duplicated mode parsing logic in m_namedmodes

9 years agoCall the MODE command handler in several modules instead of the old ModeParser::Process()
Attila Molnar [Thu, 4 Sep 2014 10:34:26 +0000 (12:34 +0200)]
Call the MODE command handler in several modules instead of the old ModeParser::Process()

9 years agom_spanningtree Simplify processing non-prefix modes in FJOINs
Attila Molnar [Thu, 4 Sep 2014 10:31:56 +0000 (12:31 +0200)]
m_spanningtree Simplify processing non-prefix modes in FJOINs

Use ModeParser::ModeParamsToChangeList() instead of duplicating logic

9 years agom_spanningtree Apply FMODE mode changes using the new ModeParser functions
Attila Molnar [Thu, 4 Sep 2014 10:30:40 +0000 (12:30 +0200)]
m_spanningtree Apply FMODE mode changes using the new ModeParser functions

9 years agoLet callers customize the begin/end positions for ModeParser::ModeParamsToChangeList()
Attila Molnar [Thu, 4 Sep 2014 10:27:04 +0000 (12:27 +0200)]
Let callers customize the begin/end positions for ModeParser::ModeParamsToChangeList()

This helps spanningtree when it deals with a vector of parameters where the modes begin at different positions

9 years agom_services_account Call ModeHandler::RemoveMode() instead of duplicating code
Attila Molnar [Thu, 4 Sep 2014 10:22:28 +0000 (12:22 +0200)]
m_services_account Call ModeHandler::RemoveMode() instead of duplicating code

9 years agoRemove irc::modestacker
Attila Molnar [Wed, 3 Sep 2014 13:40:19 +0000 (15:40 +0200)]
Remove irc::modestacker

9 years agom_spanningtree Remove CommandFJoin::ApplyModeStack()
Attila Molnar [Wed, 3 Sep 2014 13:36:21 +0000 (15:36 +0200)]
m_spanningtree Remove CommandFJoin::ApplyModeStack()

9 years agoUse Modes::ChangeList in ModeHandler::RemoveMode()
Attila Molnar [Wed, 3 Sep 2014 13:35:13 +0000 (15:35 +0200)]
Use Modes::ChangeList in ModeHandler::RemoveMode()

9 years agoReplace irc::modestacker usage with the new ModeParser::Process()
Attila Molnar [Wed, 3 Sep 2014 13:32:02 +0000 (15:32 +0200)]
Replace irc::modestacker usage with the new ModeParser::Process()

9 years agoAdd a ModeParser::Process() overload that can process an entire Modes::ChangeList
Attila Molnar [Wed, 3 Sep 2014 13:11:27 +0000 (15:11 +0200)]
Add a ModeParser::Process() overload that can process an entire Modes::ChangeList

This is a wrapper that calls ProcessSingle() repeatedly until the entire changelist is processed

9 years agoMake it possible to resume processing a partially processed Modes::ChangeList
Attila Molnar [Wed, 3 Sep 2014 13:05:56 +0000 (15:05 +0200)]
Make it possible to resume processing a partially processed Modes::ChangeList

Return number of processed mode changes from ModeParser::ProcessSingle() and add a begin index parameter

9 years agoSplit out ModeParser::ModeParamsToChangeList()
Attila Molnar [Wed, 3 Sep 2014 13:03:38 +0000 (15:03 +0200)]
Split out ModeParser::ModeParamsToChangeList()

9 years agoHandle mode merges in ModeParser::ProcessSingle()
Attila Molnar [Wed, 3 Sep 2014 12:56:42 +0000 (14:56 +0200)]
Handle mode merges in ModeParser::ProcessSingle()

9 years agoValidate mode parameters from ModeParser::ProcessSingle()
Attila Molnar [Wed, 3 Sep 2014 12:52:00 +0000 (14:52 +0200)]
Validate mode parameters from ModeParser::ProcessSingle()

9 years agoSplit out ModeParser::ProcessSingle() from Process()
Attila Molnar [Wed, 3 Sep 2014 12:47:13 +0000 (14:47 +0200)]
Split out ModeParser::ProcessSingle() from Process()

This applies up to one MODE line's worth of mode changes from a Modes::ChangeList

9 years agoAdd mode process flag MODE_CHECKACCESS
Attila Molnar [Wed, 3 Sep 2014 12:37:42 +0000 (14:37 +0200)]
Add mode process flag MODE_CHECKACCESS

9 years agoRemove ModeHandler::m_paramtype and GetTranslateType()
Attila Molnar [Wed, 3 Sep 2014 12:32:02 +0000 (14:32 +0200)]
Remove ModeHandler::m_paramtype and GetTranslateType()

9 years agoRemove ModeParser::LastParseTranslate and GetLastParseTranslate()
Attila Molnar [Wed, 3 Sep 2014 12:31:00 +0000 (14:31 +0200)]
Remove ModeParser::LastParseTranslate and GetLastParseTranslate()

9 years agoRemove ModeParser::LastParseParams and GetLastParseParams()
Attila Molnar [Wed, 3 Sep 2014 12:30:04 +0000 (14:30 +0200)]
Remove ModeParser::LastParseParams and GetLastParseParams()

9 years agoCompare Limits.MaxModes to the size of LastChangeList in ModeParser::Process()
Attila Molnar [Wed, 3 Sep 2014 12:28:57 +0000 (14:28 +0200)]
Compare Limits.MaxModes to the size of LastChangeList in ModeParser::Process()

9 years agoRemove ProtocolInterface::SendMode()
Attila Molnar [Wed, 3 Sep 2014 12:28:13 +0000 (14:28 +0200)]
Remove ProtocolInterface::SendMode()

9 years agom_spanningtree Send MODE/FMODE from the OnMode hook
Attila Molnar [Wed, 3 Sep 2014 12:26:40 +0000 (14:26 +0200)]
m_spanningtree Send MODE/FMODE from the OnMode hook

If the MODE_LOCALONLY flag is set the mode change is not propagated

9 years agom_spanningtree Add function to serialize parameters in a Modes::ChangeList::List...
Attila Molnar [Wed, 3 Sep 2014 12:23:30 +0000 (14:23 +0200)]
m_spanningtree Add function to serialize parameters in a Modes::ChangeList::List into MODE/FMODE format

9 years agoPass the modes to the OnMode hook as a Modes::ChangeList, pass ModeProcessFlags too
Attila Molnar [Wed, 3 Sep 2014 12:15:18 +0000 (14:15 +0200)]
Pass the modes to the OnMode hook as a Modes::ChangeList, pass ModeProcessFlags too

9 years agoPopulate a Modes::ChangeList object in ModeParser::Process()
Attila Molnar [Wed, 3 Sep 2014 12:09:03 +0000 (14:09 +0200)]
Populate a Modes::ChangeList object in ModeParser::Process()

9 years agoAdd Modes::Change and Modes::ChangeList
Attila Molnar [Wed, 3 Sep 2014 12:06:45 +0000 (14:06 +0200)]
Add Modes::Change and Modes::ChangeList

9 years agoChange mode_sequence to be a const ref in ModeParser::Process()
Attila Molnar [Tue, 2 Sep 2014 14:32:00 +0000 (16:32 +0200)]
Change mode_sequence to be a const ref in ModeParser::Process()

Also change the signature of DisplayListModes() to accept a const ref

9 years agoReplace stringstream with a std::string in ModeParser::Process()
Attila Molnar [Tue, 2 Sep 2014 14:27:12 +0000 (16:27 +0200)]
Replace stringstream with a std::string in ModeParser::Process()

There is no benefit in using a stringstream here

9 years agom_spanningtree Add optional key parameter to SVSJOIN and allow it to do override...
Attila Molnar [Mon, 1 Sep 2014 13:17:23 +0000 (15:17 +0200)]
m_spanningtree Add optional key parameter to SVSJOIN and allow it to do override joins

Slightly more readable version of #892 by @ShutterQuick

9 years agoUpdated inspircd init script template to make it chkconfig compatible.
Dan Parsons [Mon, 4 Aug 2014 17:57:43 +0000 (10:57 -0700)]
Updated inspircd init script template to make it chkconfig compatible.

9 years agom_blockamsg Update coding style, use User::WriteNotice()
Attila Molnar [Sun, 31 Aug 2014 10:53:23 +0000 (12:53 +0200)]
m_blockamsg Update coding style, use User::WriteNotice()

9 years agom_blockamsg Remove redundant check
Attila Molnar [Sun, 31 Aug 2014 10:51:42 +0000 (12:51 +0200)]
m_blockamsg Remove redundant check

9 years agom_blockamsg Uncrook channel counting logic
Attila Molnar [Sun, 31 Aug 2014 10:49:19 +0000 (12:49 +0200)]
m_blockamsg Uncrook channel counting logic

9 years agom_blockamsg Prevent double copy of the target string
Attila Molnar [Sun, 31 Aug 2014 10:44:57 +0000 (12:44 +0200)]
m_blockamsg Prevent double copy of the target string

9 years agom_blockamsg Remove useless variable
Attila Molnar [Sun, 31 Aug 2014 10:43:31 +0000 (12:43 +0200)]
m_blockamsg Remove useless variable

9 years agoMove the intrusive list containers into the insp namespace
Attila Molnar [Sat, 30 Aug 2014 08:35:21 +0000 (10:35 +0200)]
Move the intrusive list containers into the insp namespace

9 years agom_ojoin Change allocation of NetworkPrefix to be physically part of the object contai...
Attila Molnar [Wed, 6 Aug 2014 11:44:02 +0000 (13:44 +0200)]
m_ojoin Change allocation of NetworkPrefix to be physically part of the object containing it

9 years agom_ojoin Leave it to the core throw an exception if the prefix char is in use
Attila Molnar [Wed, 6 Aug 2014 11:40:27 +0000 (13:40 +0200)]
m_ojoin Leave it to the core throw an exception if the prefix char is in use

9 years agoMigrate ModeChannelOp and ModeChannelVoice constructors to builtinmodes.h, remove...
Attila Molnar [Wed, 6 Aug 2014 11:38:34 +0000 (13:38 +0200)]
Migrate ModeChannelOp and ModeChannelVoice constructors to builtinmodes.h, remove cmode_{o,v}

The default value for levelrequired is HALFOP_VALUE, meaning the ModeChannelVoice class is not required but it will be useful in case the default changes

9 years agoPass prefix rank and prefix char to PrefixMode constructor
Attila Molnar [Wed, 6 Aug 2014 11:35:40 +0000 (13:35 +0200)]
Pass prefix rank and prefix char to PrefixMode constructor

9 years agoRemove a bunch of useless classes representing simple core modes
Attila Molnar [Wed, 6 Aug 2014 11:27:16 +0000 (13:27 +0200)]
Remove a bunch of useless classes representing simple core modes

9 years agoChange ListModeBase::DoRehash() to not be virtual
Attila Molnar [Wed, 6 Aug 2014 11:22:40 +0000 (13:22 +0200)]
Change ListModeBase::DoRehash() to not be virtual

9 years agom_exemptchanops Fix parameter validation
Attila Molnar [Wed, 6 Aug 2014 11:20:00 +0000 (13:20 +0200)]
m_exemptchanops Fix parameter validation

9 years agom_spanningtree Remove redundant checks from HandleRemoteWhois()
Attila Molnar [Wed, 6 Aug 2014 11:10:58 +0000 (13:10 +0200)]
m_spanningtree Remove redundant checks from HandleRemoteWhois()

The size of the vector is checked in OnPreCommand() and that hook only runs for local users

9 years agocore_who Remove redundant NULL checks from CanView()
Attila Molnar [Wed, 6 Aug 2014 11:04:22 +0000 (13:04 +0200)]
core_who Remove redundant NULL checks from CanView()

9 years agom_pbkdf2 Less string copying
Attila Molnar [Mon, 4 Aug 2014 11:45:04 +0000 (13:45 +0200)]
m_pbkdf2 Less string copying

9 years agom_pbkdf2: Added module
Daniel Vassdal [Wed, 2 Jul 2014 21:45:36 +0000 (23:45 +0200)]
m_pbkdf2: Added module

Bugfixes and minor changes are by @attilamolnar, original PR #767

9 years agom_bcrypt: Add module
Daniel Vassdal [Wed, 2 Jul 2014 19:24:46 +0000 (21:24 +0200)]
m_bcrypt: Add module

bcrypt updated to 1.3 by @attilamolnar, original PR #767

9 years agoHashing: Redo API
Daniel Vassdal [Wed, 2 Jul 2014 18:55:33 +0000 (20:55 +0200)]
Hashing: Redo API

* Don't assume the printable output of hashes is hex
* Add virtual Compare() function, usable for KDFs like BCrypt

Some changes and bugfixes are by @attilamolnar, original PR #767

9 years agom_password_hash: Use out_size as HMAC-key length, as RFC2104 recommends
Daniel Vassdal [Wed, 2 Jul 2014 17:19:55 +0000 (19:19 +0200)]
m_password_hash: Use out_size as HMAC-key length, as RFC2104 recommends

"In any case the minimal recommended length for K is L bytes (as the hash output length)."

9 years agoRemove InspIRCd::BindSocket()
Attila Molnar [Mon, 4 Aug 2014 10:12:07 +0000 (12:12 +0200)]
Remove InspIRCd::BindSocket()

9 years agothreadengine_win32 Use a stripped-down, local version of InspIRCd::BindSocket() for...
Attila Molnar [Mon, 4 Aug 2014 10:10:36 +0000 (12:10 +0200)]
threadengine_win32 Use a stripped-down, local version of InspIRCd::BindSocket() for setting up the ITC pipe

9 years agoFix off by one in ping timeout.
md-5 [Sun, 3 Aug 2014 08:52:44 +0000 (18:52 +1000)]
Fix off by one in ping timeout.

Been bugging me that users ping timeout at 121 rather than 120 seconds by default.

9 years agoDiffer database error messages for m_permchannels and m_xline_db
Justin Crawford [Fri, 18 Apr 2014 00:33:38 +0000 (17:33 -0700)]
Differ database error messages for m_permchannels and m_xline_db

m_permchannels and m_xline_db both have the same error messages as well as not
informing the server operator what file is at fault for the error. This makes it
hard to find which module is causing the error and what file the module is referring
to. The new messages explain which database is trying to be written and the path
used to write the file.

9 years agoDo not attempt to detect non-culled users at destruction by looking for their uuid...
Attila Molnar [Mon, 28 Jul 2014 12:51:39 +0000 (14:51 +0200)]
Do not attempt to detect non-culled users at destruction by looking for their uuid, leave it to Extensible

This does not take uuid/sid reuse into consideration and Extensible implements this detection already in a proper way

9 years agoAllow fast sid reuse by erasing fake users from UserManager::uuidlist when the netspl...
Attila Molnar [Mon, 28 Jul 2014 12:50:28 +0000 (14:50 +0200)]
Allow fast sid reuse by erasing fake users from UserManager::uuidlist when the netsplit is handled, not in cull()

9 years agom_spanningtree Throw a ProtocolException if a server SQUITs a server it shouldn't
Attila Molnar [Mon, 28 Jul 2014 12:48:50 +0000 (14:48 +0200)]
m_spanningtree Throw a ProtocolException if a server SQUITs a server it shouldn't

9 years agom_spanningtree Squit dead servers immediately when they die, not at the next timer...
Attila Molnar [Mon, 28 Jul 2014 12:47:29 +0000 (14:47 +0200)]
m_spanningtree Squit dead servers immediately when they die, not at the next timer tick

9 years agom_spanningtree Remove the now needless SplitInProgress workaround
Attila Molnar [Mon, 28 Jul 2014 12:45:37 +0000 (14:45 +0200)]
m_spanningtree Remove the now needless SplitInProgress workaround

9 years agom_spanningtree Check TreeServer::IsDead() to learn whether a user is being quit due...
Attila Molnar [Mon, 28 Jul 2014 12:44:51 +0000 (14:44 +0200)]
m_spanningtree Check TreeServer::IsDead() to learn whether a user is being quit due to a netsplit in OnUserQuit()

9 years agom_spanningtree Change type of num_lost_* to be unsigned
Attila Molnar [Mon, 28 Jul 2014 12:43:35 +0000 (14:43 +0200)]
m_spanningtree Change type of num_lost_* to be unsigned

9 years agom_spanningtree Quit all split users in one go
Attila Molnar [Mon, 28 Jul 2014 12:42:01 +0000 (14:42 +0200)]
m_spanningtree Quit all split users in one go

9 years agom_spanningtree Mark servers awaiting destruction after being lost in a netsplit,...
Attila Molnar [Mon, 28 Jul 2014 12:38:20 +0000 (14:38 +0200)]
m_spanningtree Mark servers awaiting destruction after being lost in a netsplit, add TreeServer::IsDead()

9 years agom_spanningtree Remove now unused TreeServer::Tidy()
Attila Molnar [Mon, 28 Jul 2014 12:35:20 +0000 (14:35 +0200)]
m_spanningtree Remove now unused TreeServer::Tidy()

9 years agom_spanningtree Add the TreeServer that split to the cull list and destroy everything...
Attila Molnar [Mon, 28 Jul 2014 12:34:46 +0000 (14:34 +0200)]
m_spanningtree Add the TreeServer that split to the cull list and destroy everything under it recursively at cull time instead of at squit processing time

9 years agom_spanningtree Remove split servers from the hash maps in TreeServer::SQuitInternal()
Attila Molnar [Mon, 28 Jul 2014 12:31:57 +0000 (14:31 +0200)]
m_spanningtree Remove split servers from the hash maps in TreeServer::SQuitInternal()

9 years agom_spanningtree Move squit logic into TreeServer from TreeSocket
Attila Molnar [Mon, 28 Jul 2014 12:30:14 +0000 (14:30 +0200)]
m_spanningtree Move squit logic into TreeServer from TreeSocket

9 years agom_spanningtree Remove now needless TreeSocket::ConnectionFailureShown
Attila Molnar [Mon, 28 Jul 2014 12:23:02 +0000 (14:23 +0200)]
m_spanningtree Remove now needless TreeSocket::ConnectionFailureShown

9 years agom_spanningtree Ensure that TreeSocket::Close() only runs once
Attila Molnar [Mon, 28 Jul 2014 12:21:20 +0000 (14:21 +0200)]
m_spanningtree Ensure that TreeSocket::Close() only runs once

9 years agom_spanningtree Keep track of whether servers are behind a bursting server, use it...
Attila Molnar [Sun, 27 Jul 2014 17:11:48 +0000 (19:11 +0200)]
m_spanningtree Keep track of whether servers are behind a bursting server, use it to implement quietbursts

9 years agom_spanningtree Only mark one server as finished bursting on ENDBURST (or PONG), not...
Attila Molnar [Sun, 27 Jul 2014 17:01:13 +0000 (19:01 +0200)]
m_spanningtree Only mark one server as finished bursting on ENDBURST (or PONG), not all behind it

9 years agom_spanningtree Sync bursting state of servers in SERVER
Attila Molnar [Sun, 27 Jul 2014 16:59:43 +0000 (18:59 +0200)]
m_spanningtree Sync bursting state of servers in SERVER

Also send the time when they started bursting

9 years agom_spanningtree Parse additional information present in SERVER messages
Attila Molnar [Sun, 27 Jul 2014 16:56:12 +0000 (18:56 +0200)]
m_spanningtree Parse additional information present in SERVER messages

Format: <key>[=<value>]

9 years agom_spanningtree Add TreeServer::BeginBurst() that marks a server as bursting
Attila Molnar [Sun, 27 Jul 2014 16:50:07 +0000 (18:50 +0200)]
m_spanningtree Add TreeServer::BeginBurst() that marks a server as bursting

Don't mark servers as bursting in the constructor

9 years agom_spanningtree Use the value of StartBurst to determine whether a server is bursting...
Attila Molnar [Sun, 27 Jul 2014 16:47:36 +0000 (18:47 +0200)]
m_spanningtree Use the value of StartBurst to determine whether a server is bursting, remove TreeServer::bursting

9 years agom_spanningtree Replace direct access of TreeServer::bursting with IsBursting()
Attila Molnar [Sun, 27 Jul 2014 16:45:52 +0000 (18:45 +0200)]
m_spanningtree Replace direct access of TreeServer::bursting with IsBursting()

9 years agom_spanningtree Remove post-handshake BURST handler
Attila Molnar [Sun, 27 Jul 2014 16:43:30 +0000 (18:43 +0200)]
m_spanningtree Remove post-handshake BURST handler

9 years agom_spanningtree Don't send needless BURST after introducing a server
Attila Molnar [Sun, 27 Jul 2014 16:42:46 +0000 (18:42 +0200)]
m_spanningtree Don't send needless BURST after introducing a server

Synthesize a BURST after SERVER for 1202 protocol servers if we are not bursting

9 years agom_spanningtree Keep track of whether we've sent our burst, to be used for translation
Attila Molnar [Sun, 27 Jul 2014 16:39:01 +0000 (18:39 +0200)]
m_spanningtree Keep track of whether we've sent our burst, to be used for translation

9 years agom_spanningtree Add TreeSocket::WriteLineNoCompat() to send a line without doing any...
Attila Molnar [Sun, 27 Jul 2014 16:37:39 +0000 (18:37 +0200)]
m_spanningtree Add TreeSocket::WriteLineNoCompat() to send a line without doing any translation for old protocol servers

9 years agom_spanningtree Translate the new SERVER message for 1202 protocol servers
Attila Molnar [Sun, 27 Jul 2014 16:36:12 +0000 (18:36 +0200)]
m_spanningtree Translate the new SERVER message for 1202 protocol servers

9 years agom_spanningtree Remove unused parameters from the server introduction message
Attila Molnar [Sun, 27 Jul 2014 16:30:31 +0000 (18:30 +0200)]
m_spanningtree Remove unused parameters from the server introduction message

This does not affect the initial SERVER message containing the password

9 years agom_spanningtree Add newly created TreeServers to the parent's list in the constructor
Attila Molnar [Sun, 27 Jul 2014 16:25:23 +0000 (18:25 +0200)]
m_spanningtree Add newly created TreeServers to the parent's list in the constructor

9 years agom_spanningtree Don't pointlessly copy strings in SERVER handlers
Attila Molnar [Sun, 27 Jul 2014 16:22:12 +0000 (18:22 +0200)]
m_spanningtree Don't pointlessly copy strings in SERVER handlers

9 years agom_spanningtree Deduplicate server auth code
Attila Molnar [Sun, 27 Jul 2014 16:21:10 +0000 (18:21 +0200)]
m_spanningtree Deduplicate server auth code

9 years agom_spanningtree Deduplicate auth finish code
Attila Molnar [Sun, 27 Jul 2014 16:12:34 +0000 (18:12 +0200)]
m_spanningtree Deduplicate auth finish code

9 years agom_spanningtree Remove duplicated code from TreeSocket::Outbound_Reply_Server()
Attila Molnar [Sun, 27 Jul 2014 16:05:36 +0000 (18:05 +0200)]
m_spanningtree Remove duplicated code from TreeSocket::Outbound_Reply_Server()

This is implemented in CheckDuplicate()

9 years agom_spanningtree Set the TS of the uuid nick to the same value on collision
Attila Molnar [Sat, 26 Jul 2014 14:19:18 +0000 (16:19 +0200)]
m_spanningtree Set the TS of the uuid nick to the same value on collision