summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2016-01-06m_spanningtree Ignore SVSWATCH from 2.0 serversAttila Molnar
2016-01-06m_spanningtree Add compatibility hack that allows modules to drop the ↵Attila Molnar
VF_COMMON/VF_OPTCOMMON flags Include m_watch in the list
2015-12-07Remove some IS_SERVER() checksAttila Molnar
- InspIRCd::FindUUID() and FindNick() no longer return FakeUsers so checking the user returned from those methods is needless - m_dccallow is calling FindNickOnly() so it had the check needlessly
2015-12-07Do not insert FakeUsers into UserManager::uuidlistAttila Molnar
Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want
2015-12-07m_spanningtree Try FindServerID() first if the prefix looks like a sid in ↵Attila Molnar
TreeSocket::FindSource()
2015-12-06m_spanningtree Change allocation of ModuleSpanningTree::commands to be ↵Attila Molnar
physically part of the object containing it
2015-12-06m_spanningtree Implement ServerCommand::RegisterService()Attila Molnar
2015-12-06Add minimum channel rank and exception list parameters to the OnUserInvite hookAttila Molnar
2015-11-02Rewrite invite systemAttila Molnar
- Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one
2015-05-23m_spanningtree Log nick collisions more verbosely and in all casesAttila Molnar
2015-05-19m_spanningtree Fix harmless valgrind warning about uninit var usage on unloadAttila Molnar
2015-05-13m_spanningtree Use uint64_t for the burst start time to avoid overflowsAttila Molnar
2015-05-13m_spanningtree Clean up commentsAttila Molnar
2015-04-20Merge insp20Attila Molnar
2015-02-22capab: m_kicknorejoin: Don't advertise upper bound to 2.0 serversDaniel Vassdal
2015-02-12m_spanningtree Pass Server* to the OnServerLink/OnServerSplit eventsAttila Molnar
2015-02-11Convert the spanningtree events to use the new cross-module event systemAttila Molnar
2015-02-04m_spanningtree Fix TreeRoot UserCount being possibly wrong if loaded after ↵Attila Molnar
startup
2015-01-25m_spanningtree Rewrite PING logic to use TimersAttila Molnar
2015-01-22Merge branch 'master+exttype' into master+no-rttiAttila Molnar
2015-01-20m_spanningtree Remove public TreeServer methods that are only called from ↵Attila Molnar
TreeServer
2015-01-20m_spanningtree Get rid of some boilerplateAttila Molnar
Make methods const while at it
2015-01-18m_spanningtree Only unserialize() METADATA if the object type matches ↵Attila Molnar
ExtensionItem::type
2015-01-14Merge branch 'master+stfjoinforward'Attila Molnar
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2015-01-09m_spanningtree Increase maximum generated FJOIN line size to 510Attila Molnar
2015-01-09m_spanningtree Forward FJOINs with correct TS, modes and userlistAttila Molnar
2015-01-09m_spanningtree Change name and scope of commait in FJOIN handlerAttila Molnar
2015-01-09m_spanningtree Add overload for add() and has_room(), giving more ↵Attila Molnar
flexibility to subclasses of CommandFJoin::Builder
2015-01-09m_spanningtree Add CmdBuilder::push_raw() overload for rangesAttila Molnar
2015-01-09m_spanningtree Add source server parameter to CommandFJOIN::Builder constructorAttila Molnar
Default it to this server
2015-01-03Fix a snotice in m_spanningtree incorrectly using an unsigned long.Peter Powell
This value can be negative so it should be a signed long not an unsigned long.
2014-11-01Add stdalgo::erase() and use it to simplify codeAttila Molnar
2014-10-27Merge insp20Attila Molnar
2014-10-26Remove some dead code found by CoverityAttila Molnar
2014-10-13m_spanningtree Rebuild serverlist and sidlist when receiving a specific RequestAttila Molnar
Issue #923
2014-10-13Fix various warnings when building with LLVM 3.5.Peter Powell
- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
2014-09-04m_spanningtree Simplify processing non-prefix modes in FJOINsAttila Molnar
Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
2014-09-04m_spanningtree Apply FMODE mode changes using the new ModeParser functionsAttila Molnar
2014-09-03m_spanningtree Remove CommandFJoin::ApplyModeStack()Attila Molnar
2014-09-03Use Modes::ChangeList in ModeHandler::RemoveMode()Attila Molnar
2014-09-03Replace irc::modestacker usage with the new ModeParser::Process()Attila Molnar
2014-09-03Remove ProtocolInterface::SendMode()Attila Molnar
2014-09-03m_spanningtree Send MODE/FMODE from the OnMode hookAttila Molnar
If the MODE_LOCALONLY flag is set the mode change is not propagated
2014-09-03m_spanningtree Add function to serialize parameters in a ↵Attila Molnar
Modes::ChangeList::List into MODE/FMODE format
2014-09-01m_spanningtree Add optional key parameter to SVSJOIN and allow it to do ↵Attila Molnar
override joins Slightly more readable version of #892 by @ShutterQuick
2014-08-06m_spanningtree Remove redundant checks from HandleRemoteWhois()Attila Molnar
The size of the vector is checked in OnPreCommand() and that hook only runs for local users
2014-07-28Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Attila Molnar
the netsplit is handled, not in cull()
2014-07-28m_spanningtree Throw a ProtocolException if a server SQUITs a server it ↵Attila Molnar
shouldn't
2014-07-28m_spanningtree Squit dead servers immediately when they die, not at the next ↵Attila Molnar
timer tick