summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/commands.h
AgeCommit message (Collapse)Author
2014-01-06Unset all extensions and the topic when lowering TS on a channelAttila Molnar
2013-09-10m_spanningtree Move c2s commands out of SpanningTreeCommands to auto ↵attilamolnar
register them
2013-08-28m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync ↵attilamolnar
when two TOPIC messages cross TOPIC is no longer accepted from servers using the new protocol
2013-08-27m_spanningtree Introduce command buildersattilamolnar
2013-08-27Fix Windows build and a few more problemsattilamolnar
2013-08-27Fix indentationattilamolnar
2013-08-25m_spanningtree Allow server-to-server command handlers to specify whether ↵attilamolnar
they accept servers, remote users or both as the command source To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer()
2013-08-19Remove cmd_map from the coreattilamolnar
2013-08-18m_spanningtree Move all server-to-server command handlers into handler classesattilamolnar
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.
2013-08-17m_spanningtree Remove SpanningTreeUtilities* fields and parametersattilamolnar
2013-04-13m_spanningtree Add channel timestamp to FTOPICattilamolnar
2013-04-13m_spanningtree Introduce IJOIN and RESYNCattilamolnar
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 ("+").
2013-04-12m_spanningtree FJOIN handler: Refactor, update docattilamolnar
Split the core function into several smaller functions Accept userlist entries having no comma at all
2013-04-12m_spanningtree RSQUIT handler: Don't reimplement sending messages to remote ↵attilamolnar
users Use ModuleSpanningTree::RemoteMessage instead
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2012-11-09m_spanningtree SVSNICK needs 3 parametersattilamolnar
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-14Fix some of the include guard names (requested by SaberUK)Justin Crawford
2012-04-14Fixes for bug #12Justin Crawford
2010-01-18Specify routing for those commandsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12297 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Move lots of spanningtree items to commandsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-02Remove special-case handling of SVSNICK, SVSJOIN, SVSPART; enables ↵danieldg
intelligent routing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12238 e03df62e-2008-0410-955e-edbf42e46eb7