summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/compat.cpp
AgeCommit message (Collapse)Author
2013-04-13m_spanningtree Remove redundant first parameter of PING/PONGattilamolnar
2013-04-13m_spanningtree Add channel timestamp to FTOPICattilamolnar
2013-04-13m_spanningtree Add channel timestamp to channel METADATAattilamolnar
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-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-01Remove legacy code, mostly related to 1.2 compatibilityattilamolnar
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-03-19Add RAWIO log level which is more verbose than DEBUGdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-25Don't strip ENCAP from WHOISNOTICE, it will delink 1.2 serversdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12566 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-04Fix FIDENT response forging to run prior to the ENCAP stripdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12372 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-03Forge FIDENT reply to CHGIDENT to prevent ident desync with 1.2 and 2.0 serversdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12365 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-24Fix ENCAP stripping, was incorrectly checking for " CHGHOST" and similar ↵danieldg
commands git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12320 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-19Extbans can be VF_OPTCOMMON as they do not desync on module add/removedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12303 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17Change more modules to VF_OPTCOMMON and assert identical charsets in ↵danieldg
m_nationalchars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12277 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-15Route SVSSILENCE/SVSWATCH using OPT_UCAST, marking them OPTCOMMONdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12264 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-15Remove VF_COMMON from mode-provider modules (no longer needed due to better ↵danieldg
CAPAB checking) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12263 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-14Specify regex engine in m_filter/m_rline CAPAB line instead of marking ↵danieldg
m_regex_* as VF_COMMON git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12259 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-14Verify cloak keys match during CAPAB negotiationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12258 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
2009-11-16Use ServiceProvider for inter-module dependenciesdanieldg
This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03Remove m_halfop from list in compat linking modedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11998 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01Add ROUTE_TYPE_MESSAGE and use for PRIVMSG/NOTICE routingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11791 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01Change SWHOIS to OPTCOMMON, remove m_operinvexdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11789 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01ENCAP removal for supported protocol 1201 commandsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11788 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Don't try to write to dead users, add debug to SquitServer, and remove a ↵danieldg
string copy in spanningtree write git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11753 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Create StreamSocket for IO hooking implementationdanieldg
Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add away timestamp to the AWAY message sent server-serverdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11664 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add 1201 protocol compatability for SAVEdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11663 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add modules to the VF_COMMON list in backwards compatability link mode, ↵danieldg
translate FIDENT as CHGIDENT git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11657 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add s2s backward compatability for protocol changesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11656 e03df62e-2008-0410-955e-edbf42e46eb7