aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-2/+2
|
* Convert a bunch of time-related config options to getDuration.Gravatar Peter Powell2017-09-031-2/+2
|
* m_spanningtree Use ASCII case insensitive map for matching server namesGravatar Attila Molnar2016-08-221-1/+1
|
* m_spanningtree Change type of Link::Name to std::stringGravatar Attila Molnar2016-08-221-8/+8
| | | | Switch to stdalgo::string::equalsci()
* m_spanningtree Add SpanningTreeUtilities::FindRouteTarget()Gravatar Attila Molnar2016-03-291-0/+13
|
* m_spanningtree Remove unused SpanningTreeUtilities::BestRouteTo()Gravatar Attila Molnar2016-03-291-26/+0
|
* m_spanningtree Remove unused SpanningTreeUtilities::DoOneToOne() overload ↵Gravatar Attila Molnar2016-03-291-10/+0
| | | | accepting a string
* m_spanningtree Fix harmless valgrind warning about uninit var usage on unloadGravatar Attila Molnar2015-05-191-0/+1
|
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-12/+2
|
* Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator insteadGravatar Attila Molnar2014-07-141-1/+1
|
* Rename UserMembList to Channel::MemberMap, switch all code to use itGravatar Attila Molnar2014-07-141-1/+1
|
* Change return type of Channel::GetUsers() to reference from pointer as it is ↵Gravatar Attila Molnar2014-07-141-3/+2
| | | | never NULL
* m_spanningtree Fix routing of unicast messagesGravatar Attila Molnar2014-04-141-1/+3
|
* m_spanningtree Remove the (now) undocumented disablehmac config optionGravatar Attila Molnar2014-04-081-1/+0
|
* Change allocation of InspIRCd::Timers to be physically part of the object ↵Gravatar Attila Molnar2014-03-151-1/+1
| | | | containing it
* Make the maximum hostname length configurable in the config.Gravatar Peter Powell2014-03-081-2/+2
|
* Merge insp20Gravatar Attila Molnar2014-01-211-1/+1
|\
| * Use case insensitive comparison for server names for (auto)connects, issue #662Gravatar Adam2013-11-091-1/+1
| |
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-16/+2
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-7/+13
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Fix some Windows-related problems.Gravatar Peter Powell2014-01-041-1/+1
| | | | | | | | | | | | | | - Fix an error relating to the unavailability of std::back_inserter. - Fix loading configuration files when using relative paths. - Fix two methods in hashcomp being exported twice. - Remove some unimportant error messages.
* | Allow multiple allowmasks in link blocks, #679Gravatar Adam2013-11-211-3/+6
| |
* | Move prefix mode specific fields and getters into PrefixModeGravatar attilamolnar2013-09-111-1/+1
| | | | | | | | Add ModeHandler::IsPrefixMode()
* | m_spanningtree Minor fixesGravatar attilamolnar2013-09-101-3/+4
| | | | | | | | | | - Handle the case when servers SQUIT themselves - Fix extra space in channel messages
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-2/+0
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-23/+10
| |
* | m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and ↵Gravatar attilamolnar2013-08-221-10/+7
| | | | | | | | GetChild()
* | m_spanningtree Remove duplicate code for sending channel messages from ↵Gravatar attilamolnar2013-08-221-7/+7
| | | | | | | | RouteCommand()
* | m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()Gravatar attilamolnar2013-08-221-14/+1
| |
* | m_spanningtree Change TreeServer::GetSocket() to always return the socket ↵Gravatar attilamolnar2013-08-221-29/+8
| | | | | | | | | | | | | | | | 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 Minor cleanup of functionsGravatar attilamolnar2013-08-191-4/+2
| |
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-4/+5
| |
* | Add ConfigTag::getDuration() with optional bounds checkingGravatar attilamolnar2013-08-121-7/+2
| |
* | Modify the log message to contain the log type.Gravatar Peter Powell2013-08-041-1/+1
| |
* | Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-3/+3
| | | | | | | | | | | | | | | | 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.
* | m_spanningtree Change the type of TreeServer::ServerName to std::stringGravatar attilamolnar2013-07-241-2/+2
| |
* | m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionGravatar attilamolnar2013-07-241-2/+1
| |
* | Compare to ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
| |
* | Reserve ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
| |
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-4/+4
| |
* | Modularize DNSGravatar Adam2013-04-261-5/+5
| | | | | | | | | | | | The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
* | m_spanningtree Move CacheTimer into utilsGravatar attilamolnar2013-04-211-1/+3
| |
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-4/+0
| |
* | m_spanningtree Introduce new function to send channel messagesGravatar attilamolnar2013-04-121-0/+18
| | | | | | | | | | Use it from the protocol interface and PRIVMSG/NOTICE handlers Unite OnUserNotice and OnUserMessage code into LocalMessage()
* | m_spanningtree Change TreeServerList to be a set, get rid of a function ↵Gravatar attilamolnar2013-04-121-7/+1
| | | | | | | | dedicated to adding entries to it
* | m_spanningtree Utils: Move code that creates a full line from its components ↵Gravatar attilamolnar2013-04-121-19/+18
| | | | | | | | to a new function
* | m_spanningtree atoi() to ConvToInt() conversion, add const where possibleGravatar attilamolnar2013-04-121-16/+2
| | | | | | | | Remove two redundant functions from Utils
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-4/+4
| |
* | Convert IsSID() to a static member function, modules shouldn't override itGravatar attilamolnar2013-04-011-1/+1
|/
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-10/+10
|