aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-4/+4
* | Pass an interface to the OnSync hooks•••Remove Module::ProtoSendMetaData() Gravatar attilamolnar2013-09-131-13/+0
* | Split ProtocolInterface::SendMetaData() into multiple functionsGravatar attilamolnar2013-09-131-2/+2
* | Send ListModeBase modes implicitly on channel sync•••Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel() Gravatar attilamolnar2013-09-121-20/+0
* | m_spanningtree Move c2s commands out of SpanningTreeCommands to auto register...Gravatar attilamolnar2013-09-101-3/+3
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-3/+0
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-2/+2
* | Merge insp20Gravatar attilamolnar2013-08-301-0/+7
|\|
| * m_spanningtree When an IOHook goes away close all pending connections that us...Gravatar attilamolnar2013-08-211-0/+7
* | m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync ...•••TOPIC is no longer accepted from servers using the new protocol Gravatar attilamolnar2013-08-281-4/+1
* | m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-120/+61
* | Clean up the protocol interfaceGravatar attilamolnar2013-08-251-1/+1
* | m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and G...Gravatar attilamolnar2013-08-221-8/+11
* | m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()Gravatar attilamolnar2013-08-221-1/+1
* | m_spanningtree Change TreeServer::GetSocket() to always return the socket tha...•••The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers Gravatar attilamolnar2013-08-221-40/+33
* | Fix a few problems•••- Fix configuration issue on systems without both GnuTLS and OpenSSL. (@SaberUK) - Do not set Membership::modes in ForceJoin() incorrectly to privs - Fix crash when spanningtree detects a configuration error on load Gravatar attilamolnar2013-08-221-0/+2
* | Remove cmd_map from the coreGravatar attilamolnar2013-08-191-1/+7
* | m_spanningtree Minor cleanup of functionsGravatar attilamolnar2013-08-191-14/+3
* | m_spanningtree Move all server-to-server command handlers into handler classes•••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. Gravatar attilamolnar2013-08-181-15/+5
* | m_spanningtree Propagate oper-only quit reason using METADATA, remove OPERQUITGravatar attilamolnar2013-08-181-5/+2
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-4/+5
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-11/+0
* | Change modules to use the MODNAME constant when logging.•••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. Gravatar Peter Powell2013-08-041-1/+1
* | m_spanningtree Change the type of TreeServer::ServerName to std::stringGravatar attilamolnar2013-07-241-6/+3
* | Enable the LINK snomask from m_spanningtree, remove unused FLOOD snomaskGravatar attilamolnar2013-07-201-0/+2
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Fix a few oversights•••This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f Gravatar attilamolnar2013-07-011-1/+2
* | Rewrite CommandParser::TranslateUIDs()Gravatar attilamolnar2013-06-131-3/+1
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.) Gravatar attilamolnar2013-06-131-28/+1
* | Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to r...Gravatar attilamolnar2013-06-121-16/+1
* | Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-071-1/+2
* | Merge insp20Gravatar attilamolnar2013-06-061-2/+1
|\|
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-2/+1
| * m_spanningtree Fix FIDENT routing•••A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic Gravatar attilamolnar2013-06-041-2/+1
* | Route WALLOPS like a regular command, remove OnWallops hookGravatar attilamolnar2013-06-021-11/+1
* | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to On...•••All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases Gravatar attilamolnar2013-05-201-8/+3
* | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-6/+2
* | Allow spaces (and more) in oper types•••The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv Gravatar attilamolnar2013-05-161-2/+4
* | Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-141-1/+1
* | Merge insp20Gravatar attilamolnar2013-04-281-1/+1
|\|
| * m_spanningtree Fix IS_LOCAL() check in OnRehash handlerGravatar attilamolnar2013-04-181-1/+1
* | Modularize DNS•••The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. Gravatar Adam2013-04-261-7/+10
* | m_spanningtree Move CacheTimer into utilsGravatar attilamolnar2013-04-211-8/+3
* | Timer changes and TimerManager enhancements•••Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded) Timers are removed from the TimerManager automatically at destruction Timers are now stored in a multimap instead of a sorted vector Gravatar attilamolnar2013-04-211-1/+2
* | m_spanningtree Remove redundant first parameter of PING/PONGGravatar attilamolnar2013-04-131-2/+1
* | m_spanningtree Add channel timestamp to channel METADATAGravatar attilamolnar2013-04-131-1/+1
* | m_spanningtree Introduce IJOIN and RESYNC•••When a local user joins an existing channel, instead of an FJOIN, send an IJOIN with the channel name being the first parameter. If the joining user received prefix modes, append the channel TS and the prefix mode letters as the second and third parameters. When receiving an IJOIN, first check if the target channel exists. If it does not exist, ignore the join (that is, do not create the channel) and send a RESYNC back to the source. If the channel does exist then join the user, and in case any prefix modes were sent (found in the 3rd parameter), compare the TS of the channel to the TS in the IJOIN (2nd parameter). If the timestamps match, set the modes on the user, otherwise ignore the modes. Outgoing IJOINs to 1202 protocol servers are converted to FJOINs, but the channel mode parameter is left empty ("+"). Gravatar attilamolnar2013-04-131-10/+21
* | m_spanningtree Remove encapsulation on UserCount/OperCountGravatar attilamolnar2013-04-121-3/+3
* | m_spanningtree Introduce new function to send channel messages•••Use it from the protocol interface and PRIVMSG/NOTICE handlers Unite OnUserNotice and OnUserMessage code into LocalMessage() Gravatar attilamolnar2013-04-121-81/+18
* | m_spanningtree Change TreeServerList to be a set, get rid of a function dedic...Gravatar attilamolnar2013-04-121-2/+2