summaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* Fix warning that added by removing readable ambiguity in order of operations.Gravatar w00t2008-11-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10832 e03df62e-2008-0410-955e-edbf42e46eb7
* Maintain backwards compatibility with older 1.1, so we don't add a second ↵Gravatar w00t2008-11-271-2/+2
| | | | | | Killed() around the reason, thanks jilles. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10831 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove server name prefix from kill messages, low-priority cosmetic fix.Gravatar w00t2008-11-271-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10830 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #614 reported by jdhore, thanks. NOTE: The numerics for /MODULES ↵Gravatar brain2008-10-051-3/+3
| | | | | | have been changed in 1.1 to match those in 1.2, now 703 and 704. This is required because conspire seems to want to interpret the old numeric for sasl even if sasl isnt available (numeric 900) git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10624 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r10517: Fix KILL server-notice duplicationGravatar aquanight2008-09-111-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10518 e03df62e-2008-0410-955e-edbf42e46eb7
* This wasn't supposed to have been committed, my bad.Gravatar w00t2008-08-181-6/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10162 e03df62e-2008-0410-955e-edbf42e46eb7
* Work around OpenSSL retardation and braindamage: if you pass a different ↵Gravatar w00t2008-08-181-1/+6
| | | | | | buffer to SSL_write() (location or contents/length), then the SSL_write() fails, which will kill the connection. Set ENABLE_PARTIAL_WRITE and ACCEPT_MOVING_WRITE_BUFFER to fix/work around this.. Thanks Namegduf. (add to contributors also) git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10160 e03df62e-2008-0410-955e-edbf42e46eb7
* Increase the size of the matrix for map drawing to 250x250Gravatar brain2008-08-182-13/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10159 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch by CyberBotXGravatar w00t2008-08-081-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10126 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix remote /rehash with modules, patch from CyberBotX.Gravatar w00t2008-08-071-0/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10121 e03df62e-2008-0410-955e-edbf42e46eb7
* Clear this up a bit, tooGravatar w00t2008-08-051-9/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10099 e03df62e-2008-0410-955e-edbf42e46eb7
* Not 100% tested, but this should fix the occasional 'anope+inspircd=my ↵Gravatar w00t2008-08-051-2/+16
| | | | | | network is being ddos'd bug', reported by djGrrr, Namegduf, and others. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10098 e03df62e-2008-0410-955e-edbf42e46eb7
* Send strerror() on socket errors, backport of r10028Gravatar w00t2008-07-171-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10029 e03df62e-2008-0410-955e-edbf42e46eb7
* Show IP (not <unknown>) when sending error to a connection that has not yet ↵Gravatar w00t2008-05-201-1/+1
| | | | | | authenticated git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9782 e03df62e-2008-0410-955e-edbf42e46eb7
* Send link message to snomask +d only. Fixes bug #527, reported by DjMadnessGravatar w00t2008-05-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9775 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r9247: server buffering improvements (don't constantly flush write ↵Gravatar w00t2008-04-013-10/+13
| | | | | | buffer) QA: this needs testing of server linking and SSL, and SSL server linking git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9248 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch by brain; fix crash when no parameters are given when introducing a ↵Gravatar special2008-03-311-2/+3
| | | | | | remote client git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9238 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the timer (its unsafe on unload) and replace with OnBackgroundTimer. ↵Gravatar brain2008-03-311-15/+6
| | | | | | If i remember right this isnt needed in 1.1 as we made timers safer. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9236 e03df62e-2008-0410-955e-edbf42e46eb7
* always ALWAYS send CAPAB before sending SERVER in any situation. This will ↵Gravatar brain2008-03-302-0/+5
| | | | | | mean that where HMAC is in use, with any luck we'll see the other sides challenge before sending our pass. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9228 e03df62e-2008-0410-955e-edbf42e46eb7
* 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