summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
AgeCommit message (Collapse)Author
2006-12-23Hash rehashing changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-19Fix server prefix on JOIN.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6048 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Correctly send TS in JOIN so that services packages etc dont become ↵brain
desynched (plus our own protocol docs say we do this when we send JOIN, oops breaking my own standards now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6034 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17Dont use FJOIN to join users to channels outside the burst (revert to ↵brain
earlier betas behaviour) which should prevent some spurious deops during normal operation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6032 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17When receiving an FJOIN, if we have no local users, dont send deops, this ↵brain
just contributes to pointless server noise git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Add some comments to explain whats going off in one of the TreeSocket ↵brain
constructors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6011 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Not sending capab when theres no transport module attached to a server socketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Make SNO notice for +o globalpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6007 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Remove global namespacing, makes modules compile FASTAH. Also massive update ↵w00t
on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-13Improve the way 005 ISUPPORT is sent to users when they connect, cache it in ↵brain
a much more sane format which is much simpler to spool to them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-12New clone counting mechanism (this isnt tested yet)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5967 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Debug stuff, and some minor fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5927 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10Add InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also ↵brain
InspIRCd::GetInterfaceUseCount(). These can be used for one module to lock other modules in memory that it depends on, this way they can enforce an unload order so that you cant (for example) unload m_ssl_gnutls.so whilst m_spanningtree.so is using it for ssl server to server sessions (in this case, youd have to unload spanningtree first, THEN ssl_gnutls, to satisfy the dependencies and unload orders) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5924 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10Rename ssl.h -> transport.h, as its now used for ziplinksbrain
Document the data format used by our ziplinks (its not just deflated data, there has to be a length header on the start) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5912 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Don't allow the user to define a non-existent transport in the <link> tagbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5902 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Correctly report the transport names when server links occurbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Remove AESbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5899 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Make it all work properly. Have it wait for handshake to complete before ↵brain
sending anything down the line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5898 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09It works! WOO AND YAY! (this isnt finished yet, only an idiot would use this ↵brain
on a production net atm) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5897 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Whoops, some stuff was sdrawkcab!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5896 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Move around the initialization stuff so it gets called in the right orderbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5895 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Add stuff for <bind:transport> and <link:transport> that should be the ↵brain
transport name, e.g. 'openssl' or 'gnutls'. I didn't name it <bind:ssl> because it might be used for other stuff than just ssl eventually. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5894 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Enumerate InspSocketHook modulesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5893 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Add stuff so that TreeSockets can call any found hook modulesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5892 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09Move thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5891 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-03Account for channels with no modes setbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-03Remote SQUIT, and god save the coder..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5831 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-30Fix typo that stops m_cban from workingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5828 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-28Fixed a crash when spanningtree is given a blank line; really simple fix, ↵special
and I had to wait 10 minutes to test it :< git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5823 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-27O(n^n) is bad. O(log n) is better.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5822 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-27BuildExemptList is becoming pretty ugly. grr.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5819 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-27Add exception lists to OnUserMessage and OnUserNotice, to be used for ↵brain
smarter routing of messages in spanningtree amongst other things git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5817 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24In answer to w00ts question, the channel might not exist, because of the ↵brain
following situation user A exists on both servers. When servers link, user A is collided, but one or both servers still get the FJOIN: FJOIN #chan 1234 :@,A of course, A is gone, the only join to the channel fails, so the channel actually doesnt exist at the end of the loop, so chan == NULL :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5790 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-23Fix #176, not sure how channel can't exist after being created, but ↵w00t
apparantly it can happen git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5789 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-22Fix my fix, it crashed (thanks skenmy, sorry)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5787 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-21Fix spurious deops on channel creation, pointed out by jilles, noted by a ↵w00t
number of people. :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5784 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-16Make STATS i, y, c, n more relevent to 1.1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5756 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13Modify server counts in /lusers to show number of servers actually visible ↵brain
if you arent an oper and we're hiding ulines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5739 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Slight hax. When bursting a channel - in the fmode, if we dont have +n or +t ↵brain
set this side, explicitly put -n or -t into the mode string. This is because the other side will ass-u-me +nt set because this is the default. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5719 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12If a new channel is created, after sending the FJOIN for the first user in, ↵brain
send an FMODE #chan <ts> +nt, to sync the +nt on all remote servers explicitly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5718 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Added a notice that all people bumping the protocol version should edit a ↵brain
page in the wiki: * IMPORTANT: If you make changes, document your changes here, without fail: * http://www.inspircd.org/wiki/List_of_protocol_changes_between_versions * * Failure to document your protocol changes will result in a painfully * painful death by pain. You have been warned. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5716 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Protocl-Version bump to 1102brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5715 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Oops, using wrong parambrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5714 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12More funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICEbrain
(OPERNOTICE can be considered to be "MODENOTICE os", but it saves bandwidth and cpu to send OPERNOTICE where possible) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5713 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Whoops, stuff in the wrong placebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5712 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Make OPERNOTICE work rightbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5710 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Add send_opers event and OPERNOTICE command to send remote server NOTICEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5708 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Yes, we do want to propogate the server modebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5707 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Allow normal MODE from a server prefixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5704 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11Eliminate two trivial compile warnings pointed out by a few peoplebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5697 e03df62e-2008-0410-955e-edbf42e46eb7