summaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* Fix: trying to send out all lines in one hit is different from the way we do ↵Gravatar w00t2008-02-161-20/+16
| | | | | | users, etc - and also won't be too healthy for the socket buffer with lots of them. This also removes a data copy, which in theory will make it fractionally faster. Fixes bug #496 reported by Skip. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8946 e03df62e-2008-0410-955e-edbf42e46eb7
* More tweaksGravatar brain2008-02-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8840 e03df62e-2008-0410-955e-edbf42e46eb7
* This should work a bit better, voidzero. If someone had told me it was ↵Gravatar brain2008-02-051-1/+1
| | | | | | seperate servers from the start.... :p git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8838 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r8810: minor FTOPIC desync fixGravatar w00t2008-02-031-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8811 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-1020-20/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7
* Rebind server sockets on REHASH, closes bug #478Gravatar w00t2008-01-083-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8664 e03df62e-2008-0410-955e-edbf42e46eb7
* I swear I've fixed this 5 times now.. it's PERMANENT, USE A FUCKING ↵Gravatar w00t2008-01-071-1/+1
| | | | | | DICTIONARY :p http://dictionary.reference.com/browse/Permanent git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8658 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #458: servers go missing on collision etc.Gravatar w00t2008-01-041-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8629 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the way origins are shown in snonotice, for djGrrr :pGravatar brain2007-10-141-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8182 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix uninitialized var that may stop the ping warning from appearing, thanks ↵Gravatar brain2007-10-131-2/+2
| | | | | | djGrrr git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8161 e03df62e-2008-0410-955e-edbf42e46eb7
* Change 'unrecognised command BLAH' to 'unrecognised or malformed command ↵Gravatar brain2007-10-091-1/+1
| | | | | | BLAH' just to make it obvious to lazy people. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8141 e03df62e-2008-0410-955e-edbf42e46eb7
* sanity check for existing server in DoFailOver seems to have vanished!Gravatar brain2007-10-091-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8139 e03df62e-2008-0410-955e-edbf42e46eb7
* Forgot part of the fix for bug #404Gravatar special2007-09-271-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8087 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #421Gravatar brain2007-09-251-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8081 e03df62e-2008-0410-955e-edbf42e46eb7
* * Backport: Fixed connection messages in ModuleSpanningTree::HandleConnect.Gravatar burlex2007-09-041-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8018 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed an issue that could cause empty parameters in module commands to not ↵Gravatar special2007-09-022-11/+11
| | | | | | be sent to other servers properly git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8013 e03df62e-2008-0410-955e-edbf42e46eb7
* backport: Fixed a bug introduced in r7827 (does not affect 1.1.12) that ↵Gravatar special2007-08-311-0/+11
| | | | | | would cause an infinite loop for some spanningtree link errors. Found by danieldg git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8004 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport: Add SVSPART at request of the Anope team - You can tell if the ↵Gravatar brain2007-08-283-1/+34
| | | | | | | | | server has SVSPART by the presence of SVSPART=1 in the CAPAB. No, we will NOT be enforcing this network-wide, its a server-origin command so it wont cause disconnects if it doesnt exist somewhere. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7983 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge in fix for invalid channels in SVSJOIN by w00tGravatar brain2007-08-271-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7853 e03df62e-2008-0410-955e-edbf42e46eb7
* Document ModuleSpanningTree::RemoteMessage. Maybe useful for other stuff.Gravatar brain2007-08-261-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7829 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #398, when someone does /rconnect and the connection fails, more ↵Gravatar brain2007-08-266-27/+64
| | | | | | stuff is now globally broadcast using SNONOTICE and PUSH git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7827 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some stuff to change how we process a token sepeperated streamGravatar brain2007-08-231-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7801 e03df62e-2008-0410-955e-edbf42e46eb7
* Introducing major crashy bugs to annoy Stskeeps... just kidding, backport of ↵Gravatar brain2007-08-211-1/+2
| | | | | | stability fix in r7787 git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7788 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport, phew, glad this one applied cleanly.Gravatar brain2007-08-201-1/+2
| | | | | | | | | | The only possibility for the issue sts found is that a socket is deleted but also ends up in the socket cull list somehow. To ensure that the socket does not get deleted, remove the delete and replace with an explicit call to insert into the socket cull list. We were grappling with these issues in early 1.1 with the userrec cull list, too. NOTE for later 1.2's consider making CullList a base class which we can derive from to delete lists of other items than userrecs. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7776 e03df62e-2008-0410-955e-edbf42e46eb7
* backport of fix for bug #382. When colliding a nick, we didnt have : before ↵Gravatar brain2007-08-201-2/+2
| | | | | | | | | | | the kill reasons for the serverkill. Because of a recentish refactor of server to server kills, when killing the user, the kill handler checks for params != 2 and returns if this is true Because 'nick collision' is two words, long, it ignores the KILL and risks a desync (basically a race condition). Couldnt duplicate myself, but this *SHOULD* fix. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7773 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a whole load of #ifdef as we can now use gettimeofday.Gravatar brain2007-08-152-9/+0
| | | | | | | If we add a wrapper for getrusage, then we can remove a ton more git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7726 e03df62e-2008-0410-955e-edbf42e46eb7
* bp 7717: Fix new millisec /map to compile on windows, by ifndef gettimeofday ↵Gravatar peavey2007-08-132-0/+11
| | | | | | out reverting back to seconds for latency. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7718 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport display glitch fix found by djGrrr, fixed by w00tGravatar brain2007-08-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7692 e03df62e-2008-0410-955e-edbf42e46eb7
* Feature request from djGrr, allow changing of server to server ping ↵Gravatar brain2007-08-075-5/+13
| | | | | | frequency: Backport to 1.1 for deployment on certain nets git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7687 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport as fix, as old way was somewhat useless:Gravatar brain2007-08-053-3/+14
| | | | | | | Change latency figures in /map to milliseconds, much more useful for lag measurement than seconds git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7668 e03df62e-2008-0410-955e-edbf42e46eb7
* Manual backport of r7637 - svnmerge is still being a prickGravatar w00t2007-08-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7638 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge r7528-7529 from trunkGravatar peavey2007-07-233-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7530 e03df62e-2008-0410-955e-edbf42e46eb7
* Ive tidied up the mode count stuff, but i still cant duplicate negative ↵Gravatar brain2007-07-182-3/+15
| | | | | | invisible counts. :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7474 e03df62e-2008-0410-955e-edbf42e46eb7
* Stability fixes, some DELETEs here that dont belong any more.Gravatar brain2007-07-172-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7470 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-1621-21/+6873
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-1621-6873/+21
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #347.Gravatar brain2007-07-112-5/+1
| | | | | | | | WARNING: QA PEOPLE, THIS NEEDS TESTING!!!! Test this with lots of squits and connects, and i mean lots and lots in all different ways you can think of, /squit, pingout, closing the connection with a firewall etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7434 e03df62e-2008-0410-955e-edbf42e46eb7
* Clarifying commentGravatar brain2007-07-101-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7
* This should fix the rest of remote kill nick hidingGravatar brain2007-07-102-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed superfluous semicolonsGravatar pippijn2007-07-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for TS==0 in FJOINGravatar brain2007-06-241-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7406 e03df62e-2008-0410-955e-edbf42e46eb7
* Drop fmode with TS of 0, just in case any craq smoking services devs get the ↵Gravatar brain2007-06-241-0/+7
| | | | | | idea that this is acceptable instead of actually supporting TS rules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7405 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for atheme support (and others) which makes sure CAPAB is always sent ↵Gravatar brain2007-06-243-0/+13
| | | | | | before BURST git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7404 e03df62e-2008-0410-955e-edbf42e46eb7
* MoreGravatar brain2007-06-171-22/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7356 e03df62e-2008-0410-955e-edbf42e46eb7
* Deprecate remote SQUIT, warn to use RSQUIT instead. RSQUIT supports 1 param ↵Gravatar peavey2007-06-171-11/+0
| | | | | | too, emulating the old behaviour of SQUIT. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7338 e03df62e-2008-0410-955e-edbf42e46eb7
* RSQUIT/SQUIT is one target only for 1.1. The multi target is going into the ↵Gravatar peavey2007-06-161-0/+2
| | | | | | 1.2 discussion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7333 e03df62e-2008-0410-955e-edbf42e46eb7
* And truly fix rsquit 1 parm crash.Gravatar peavey2007-06-151-17/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7331 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash on propogation after routed squit has reached it's destination. ↵Gravatar peavey2007-06-151-9/+12
| | | | | | Thx HiroP. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7330 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops forgot to tidy up comments.Gravatar peavey2007-06-151-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7329 e03df62e-2008-0410-955e-edbf42e46eb7
* Use PUSH to let remote servers advise of errors.Gravatar peavey2007-06-152-3/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7328 e03df62e-2008-0410-955e-edbf42e46eb7