aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | m_spanningtree Remove remains of the KeepNickTS workaroundGravatar Attila Molnar2014-03-031-2/+0
* | Update nick timestamps in User::ChangeNick(), pass the new TS in a parameterGravatar Attila Molnar2014-03-031-6/+1
* | Split IOHook into IOHook and IOHookProvider•••Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established. Gravatar Attila Molnar2014-01-221-2/+2
* | Merge insp20Gravatar Attila Molnar2014-01-211-5/+7
|\|
| * m_spanningtree Fix nick TS desync on SVSNICK•••Don't accept invalid timestamps Gravatar Attila Molnar2013-12-151-1/+3
| * Use case insensitive comparison for server names for (auto)connects, issue #662Gravatar Adam2013-11-091-3/+3
| * Fix issue #657, fix sending FNAME with spacesGravatar Adam2013-11-091-1/+1
| * m_spanningtree Fix timestamp in AWAYGravatar attilamolnar2013-08-311-1/+1
* | Move server description field from TreeServer into Server; remove OnGetServer...Gravatar Attila Molnar2014-01-051-10/+1
* | Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-10/+24
* | Improve UserManager::QuitUser() and related code•••- Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree Gravatar Attila Molnar2014-01-051-1/+14
* | Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()Gravatar Attila Molnar2014-01-041-1/+1
* | m_spanningtree Fix clang warning and wrong operator in ifGravatar Attila Molnar2013-12-181-1/+1
* | Clean up CoreException•••- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs Gravatar Attila Molnar2013-12-181-1/+1
* | 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