summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Dont allow overlapped ports in these filesGravatar brain2006-11-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5695 e03df62e-2008-0410-955e-edbf42e46eb7
* Add irc::portparser, a class to parse port ranges in the form ↵Gravatar brain2006-11-111-55/+15
| | | | | | | | | "6660,6661,6662-6669,7000". Needs testing, watch next few commits. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5690 e03df62e-2008-0410-955e-edbf42e46eb7
* Support hybrid-style port ranges in spanningtree, tooGravatar brain2006-11-111-17/+61
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5687 e03df62e-2008-0410-955e-edbf42e46eb7
* Add fix for patch #166 (this is a reasonably big one)Gravatar brain2006-11-101-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7
* Add gline type, and <filter:duration> value to say how long to ban for.Gravatar brain2006-11-101-18/+30
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5666 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed broken syncing for glines and elines using idents - thanks to ↵Gravatar special2006-11-061-4/+4
| | | | | | dotslasher for finding and peaveydk for finding the fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5661 e03df62e-2008-0410-955e-edbf42e46eb7
* Modified the server-to-server TIME command to report the real time (without ↵Gravatar special2006-11-051-1/+1
| | | | | | delta), and display the delta in the output from m_alltime git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5657 e03df62e-2008-0410-955e-edbf42e46eb7
* Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the ↵Gravatar special2006-11-051-2/+2
| | | | | | pedantic brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5651 e03df62e-2008-0410-955e-edbf42e46eb7
* Added the <options:notimesync> flag to disable time syncingGravatar special2006-11-051-4/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5650 e03df62e-2008-0410-955e-edbf42e46eb7
* Added time syncing! This is fairly simple - servers exchange timestamps and ↵Gravatar special2006-11-051-16/+111
| | | | | | use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5649 e03df62e-2008-0410-955e-edbf42e46eb7
* one line tweak, if the prefix is empty, dont echo 'unknown prefix' to the ↵Gravatar brain2006-11-041-1/+2
| | | | | | debug log git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5648 e03df62e-2008-0410-955e-edbf42e46eb7
* Added the send_push event to m_spanningtree (send raw text to a remote user)Gravatar special2006-11-011-0/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5624 e03df62e-2008-0410-955e-edbf42e46eb7
* New events for special. Event id's "new_server" and "lost_server". The data ↵Gravatar brain2006-11-011-0/+7
| | | | | | | | | | is a pointer to a char* containing the server name. Eventally, i might expand this to include more data about the server such as its 'gecos' field etc, but not just yet. Let me know what data you want first. Event source is valid and will point at the protocol module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5623 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken notice (relatively minor, the notice can be turned off)Gravatar brain2006-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5616 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, wrong linfeed type on ADDLINE in netburstGravatar brain2006-10-281-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5569 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow admins to set the socket timeout on server connectionsGravatar brain2006-10-281-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5566 e03df62e-2008-0410-955e-edbf42e46eb7
* Give this one a go dotslasher, apply to ALL serversGravatar brain2006-10-281-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5565 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't display this notice on an empty servername (which will happen if an ↵Gravatar w00t2006-10-261-1/+3
| | | | | | incoming connection fails), confusing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5540 e03df62e-2008-0410-955e-edbf42e46eb7
* More missing spaces (and unbreak compile)Gravatar w00t2006-10-231-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5537 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug experienced by satmd, remove space indents + tidy a littleGravatar w00t2006-10-231-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5536 e03df62e-2008-0410-955e-edbf42e46eb7
* Buffer more stuff up for each write by putting it into larger blocksGravatar brain2006-10-221-23/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5518 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix sending bans on sync:Gravatar brain2006-10-221-2/+12
| | | | | | | | * Dont cram them after +jfJLlk parameters * Limit them to MAXMODES per line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5514 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix counts on spanningtree reload (this made /map look really odd)Gravatar w00t2006-10-211-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5510 e03df62e-2008-0410-955e-edbf42e46eb7
* Got it! I am teh 1337.Gravatar brain2006-10-211-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5508 e03df62e-2008-0410-955e-edbf42e46eb7
* Tiny tweakGravatar brain2006-10-211-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5506 e03df62e-2008-0410-955e-edbf42e46eb7
* Const refsGravatar brain2006-10-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5505 e03df62e-2008-0410-955e-edbf42e46eb7
* References and stuffGravatar brain2006-10-191-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5503 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff changed to const refGravatar brain2006-10-191-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5502 e03df62e-2008-0410-955e-edbf42e46eb7
* Const ref frenzy!Gravatar brain2006-10-191-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5501 e03df62e-2008-0410-955e-edbf42e46eb7
* Const ref frenzy!Gravatar brain2006-10-191-26/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5500 e03df62e-2008-0410-955e-edbf42e46eb7
* OptimizationsGravatar brain2006-10-191-6/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5499 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve WriteLine, this should be quite an improvement as it prevents a ↵Gravatar brain2006-10-191-1/+2
| | | | | | temporary allocation and deallocation for every call to Write() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5498 e03df62e-2008-0410-955e-edbf42e46eb7
* Use rfind rather than find when chopping strings, its faster as the \r is ↵Gravatar brain2006-10-191-2/+6
| | | | | | more likely to be at the end of the sequence not the start git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5497 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused large varsGravatar brain2006-10-191-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5496 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember to delete the tree root when unloading the moduleGravatar brain2006-10-171-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5495 e03df62e-2008-0410-955e-edbf42e46eb7
* Move the declaration of class Link up topGravatar brain2006-10-171-21/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5494 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, forgot to init a varGravatar brain2006-10-171-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5493 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove culllist.h from here, we no longer use it.Gravatar brain2006-10-171-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5492 e03df62e-2008-0410-955e-edbf42e46eb7