summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Hash rehashing changeGravatar brain2006-12-231-19/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix server prefix on JOIN.Gravatar w00t2006-12-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6048 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly send TS in JOIN so that services packages etc dont become ↵Gravatar brain2006-12-171-0/+1
| | | | | | 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
* Dont use FJOIN to join users to channels outside the burst (revert to ↵Gravatar brain2006-12-171-11/+14
| | | | | | | | | 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
* When receiving an FJOIN, if we have no local users, dont send deops, this ↵Gravatar brain2006-12-171-1/+15
| | | | | | just contributes to pointless server noise git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some comments to explain whats going off in one of the TreeSocket ↵Gravatar brain2006-12-161-2/+6
| | | | | | constructors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6011 e03df62e-2008-0410-955e-edbf42e46eb7
* Not sending capab when theres no transport module attached to a server socketGravatar brain2006-12-161-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010 e03df62e-2008-0410-955e-edbf42e46eb7
* Make SNO notice for +o globalGravatar peavey2006-12-161-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6007 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove global namespacing, makes modules compile FASTAH. Also massive update ↵Gravatar w00t2006-12-151-9/+6
| | | | | | 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
* Improve the way 005 ISUPPORT is sent to users when they connect, cache it in ↵Gravatar brain2006-12-131-18/+1
| | | | | | 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
* New clone counting mechanism (this isnt tested yet)Gravatar brain2006-12-121-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5967 e03df62e-2008-0410-955e-edbf42e46eb7
* Debug stuff, and some minor fixesGravatar brain2006-12-111-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5927 e03df62e-2008-0410-955e-edbf42e46eb7
* Add InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also ↵Gravatar brain2006-12-101-0/+4
| | | | | | | | | | | | 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
* Rename ssl.h -> transport.h, as its now used for ziplinksGravatar brain2006-12-101-1/+1
| | | | | | | 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
* Don't allow the user to define a non-existent transport in the <link> tagGravatar brain2006-12-091-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5902 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly report the transport names when server links occurGravatar brain2006-12-091-0/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5900 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove AESGravatar brain2006-12-091-133/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5899 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it all work properly. Have it wait for handshake to complete before ↵Gravatar brain2006-12-091-3/+59
| | | | | | sending anything down the line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5898 e03df62e-2008-0410-955e-edbf42e46eb7
* It works! WOO AND YAY! (this isnt finished yet, only an idiot would use this ↵Gravatar brain2006-12-091-12/+21
| | | | | | on a production net atm) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5897 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, some stuff was sdrawkcab!Gravatar brain2006-12-091-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5896 e03df62e-2008-0410-955e-edbf42e46eb7
* Move around the initialization stuff so it gets called in the right orderGravatar brain2006-12-091-20/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5895 e03df62e-2008-0410-955e-edbf42e46eb7
* Add stuff for <bind:transport> and <link:transport> that should be the ↵Gravatar brain2006-12-091-8/+26
| | | | | | 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
* Enumerate InspSocketHook modulesGravatar brain2006-12-091-0/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5893 e03df62e-2008-0410-955e-edbf42e46eb7
* Add stuff so that TreeSockets can call any found hook modulesGravatar brain2006-12-091-5/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5892 e03df62e-2008-0410-955e-edbf42e46eb7
* Move thisGravatar brain2006-12-091-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5891 e03df62e-2008-0410-955e-edbf42e46eb7
* Account for channels with no modes setGravatar brain2006-12-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5838 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote SQUIT, and god save the coder..Gravatar w00t2006-12-031-3/+59
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5831 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typo that stops m_cban from workingGravatar brain2006-11-301-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5828 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a crash when spanningtree is given a blank line; really simple fix, ↵Gravatar special2006-11-281-2/+2
| | | | | | 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
* O(n^n) is bad. O(log n) is better.Gravatar brain2006-11-271-25/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5822 e03df62e-2008-0410-955e-edbf42e46eb7
* BuildExemptList is becoming pretty ugly. grr.Gravatar brain2006-11-271-8/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5819 e03df62e-2008-0410-955e-edbf42e46eb7
* Add exception lists to OnUserMessage and OnUserNotice, to be used for ↵Gravatar brain2006-11-271-8/+9
| | | | | | 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
* In answer to w00ts question, the channel might not exist, because of the ↵Gravatar brain2006-11-241-1/+6
| | | | | | | | | | | 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
* Fix #176, not sure how channel can't exist after being created, but ↵Gravatar w00t2006-11-231-1/+2
| | | | | | apparantly it can happen git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5789 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix my fix, it crashed (thanks skenmy, sorry)Gravatar w00t2006-11-221-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5787 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix spurious deops on channel creation, pointed out by jilles, noted by a ↵Gravatar w00t2006-11-211-6/+16
| | | | | | number of people. :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5784 e03df62e-2008-0410-955e-edbf42e46eb7
* Make STATS i, y, c, n more relevent to 1.1Gravatar brain2006-11-161-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5756 e03df62e-2008-0410-955e-edbf42e46eb7
* Modify server counts in /lusers to show number of servers actually visible ↵Gravatar brain2006-11-131-2/+21
| | | | | | 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
* Slight hax. When bursting a channel - in the fmode, if we dont have +n or +t ↵Gravatar brain2006-11-121-0/+19
| | | | | | | | | 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
* If a new channel is created, after sending the FJOIN for the first user in, ↵Gravatar brain2006-11-121-0/+8
| | | | | | 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
* Added a notice that all people bumping the protocol version should edit a ↵Gravatar brain2006-11-121-0/+6
| | | | | | | | | | | | | 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
* Protocl-Version bump to 1102Gravatar brain2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5715 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops, using wrong paramGravatar brain2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5714 e03df62e-2008-0410-955e-edbf42e46eb7
* More funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICEGravatar brain2006-11-121-0/+38
| | | | | | | (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
* Whoops, stuff in the wrong placeGravatar brain2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5712 e03df62e-2008-0410-955e-edbf42e46eb7
* Make OPERNOTICE work rightGravatar brain2006-11-121-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5710 e03df62e-2008-0410-955e-edbf42e46eb7
* Add send_opers event and OPERNOTICE command to send remote server NOTICEGravatar brain2006-11-121-1/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5708 e03df62e-2008-0410-955e-edbf42e46eb7
* Yes, we do want to propogate the server modeGravatar brain2006-11-121-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5707 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow normal MODE from a server prefixGravatar brain2006-11-121-0/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5704 e03df62e-2008-0410-955e-edbf42e46eb7
* Eliminate two trivial compile warnings pointed out by a few peopleGravatar brain2006-11-111-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5697 e03df62e-2008-0410-955e-edbf42e46eb7