summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.cpp
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
* 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
* 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
* 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-011-2/+2
| | | | | | 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
* always ALWAYS send CAPAB before sending SERVER in any situation. This will ↵Gravatar brain2008-03-301-0/+1
| | | | | | 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
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | 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-081-1/+1
| | | | 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
* 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
* 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
* Fixed an issue that could cause empty parameters in module commands to not ↵Gravatar special2007-09-021-2/+1
| | | | | | 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: Add SVSPART at request of the Anope team - You can tell if the ↵Gravatar brain2007-08-281-0/+29
| | | | | | | | | 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
* Fix for bug #398, when someone does /rconnect and the connection fails, more ↵Gravatar brain2007-08-261-4/+4
| | | | | | 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
* 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-151-4/+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-131-0/+4
| | | | | | 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
* Feature request from djGrr, allow changing of server to server ping ↵Gravatar brain2007-08-071-1/+1
| | | | | | 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-051-1/+4
| | | | | | | 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-231-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7530 e03df62e-2008-0410-955e-edbf42e46eb7
* Stability fixes, some DELETEs here that dont belong any more.Gravatar brain2007-07-171-1/+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-161-1/+1554
| | | | 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-161-1554/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 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
* Fix for atheme support (and others) which makes sure CAPAB is always sent ↵Gravatar brain2007-06-241-0/+6
| | | | | | before BURST git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7404 e03df62e-2008-0410-955e-edbf42e46eb7
* remove RSQUIT2 routing hack for SQUIT now we use one param RSQUIT.Gravatar peavey2007-06-151-55/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7325 e03df62e-2008-0410-955e-edbf42e46eb7
* This is not, not routing of SQUIT, nothing to see here, move along :>Gravatar peavey2007-06-131-0/+55
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7301 e03df62e-2008-0410-955e-edbf42e46eb7
* strip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.Gravatar peavey2007-06-131-51/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7285 e03df62e-2008-0410-955e-edbf42e46eb7
* A ton more clear() and empty() stuff thats been lingering on the long term ↵Gravatar brain2007-06-091-17/+15
| | | | | | todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
* Add back remote kill handler for server origin killsGravatar brain2007-06-061-0/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7249 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch fixing (almost) remote kill server notices, by just passing KILL onto ↵Gravatar w00t2007-06-061-34/+0
| | | | | | cmd_kill and not attempting to duplicate code for it in spanningtree. Dev: Two small issues are left with this, see comments in cmd_kill.cpp. Thanks, HiroP. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7248 e03df62e-2008-0410-955e-edbf42e46eb7
* Somehow, the code which does the "assumption" that no prefix means 'that' ↵Gravatar brain2007-05-241-1/+5
| | | | | | | | | server's name, got removed or broken. I've put it back, this would explain the commands with empty prefixes being echoed back during that java stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7131 e03df62e-2008-0410-955e-edbf42e46eb7
* This says ten minutes drift and should say five, fixedGravatar brain2007-05-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7106 e03df62e-2008-0410-955e-edbf42e46eb7
* Move inspircd.h to topGravatar brain2007-05-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7099 e03df62e-2008-0410-955e-edbf42e46eb7
* Reverted broken patch.. This may break, but it's unlikely :pGravatar frostycoolslug2007-05-211-5/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7090 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows support. Tested and working to compile on freebsd and linux. Next ↵Gravatar w00t2007-05-191-11/+5
| | | | | | step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a fairly low-risk crash in m_spanningtreeGravatar special2007-05-181-2/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7042 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the way i/o lines are formatted in debug log to make them more ↵Gravatar brain2007-05-171-2/+2
| | | | | | | | | | intuitive. Now includes a C or S to say if its client or server, plus the fd: Thu May 17 17:56:16 2007: C[15] -> :Brain MODE #test Thu May 17 17:56:17 2007: C[15] -> :Brain WHO #test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7039 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a notice on connection close stating server link uptime, and fix a bug ↵Gravatar brain2007-05-161-0/+5
| | | | | | | | | in m_opermodes which meant that its modes werent being replicated across servers (it was sending a totally malformed MODE command with the nick in twice, and has been doing this presumably since early 1.1's) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7034 e03df62e-2008-0410-955e-edbf42e46eb7
* quietbursts tweak for hiropGravatar brain2007-05-141-8/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7023 e03df62e-2008-0410-955e-edbf42e46eb7