summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* * 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-021-9/+10
| | | | | | 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
* 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-261-5/+39
| | | | | | 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
* 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
* Remove a whole load of #ifdef as we can now use gettimeofday.Gravatar brain2007-08-151-5/+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/+7
| | | | | | 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-2/+2
| | | | | | 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/+5
| | | | | | | 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
* Ive tidied up the mode count stuff, but i still cant duplicate negative ↵Gravatar brain2007-07-181-2/+10
| | | | | | invisible counts. :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7474 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+1392
| | | | 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-1392/+1
| | | | | | 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-111-4/+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
* This should fix the rest of remote kill nick hidingGravatar brain2007-07-101-1/+5
| | | | 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
* 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
* remove a comment.Gravatar peavey2007-06-151-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7324 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #296, remote squit not accepting wildcards. awaiting QA.Gravatar peavey2007-06-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7323 e03df62e-2008-0410-955e-edbf42e46eb7
* try out using one param RSQUIT for propogation of SQUIT.Gravatar peavey2007-06-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7321 e03df62e-2008-0410-955e-edbf42e46eb7
* This is not, not routing of SQUIT, nothing to see here, move along :>Gravatar peavey2007-06-131-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7301 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove remote SQUIT hacks.Gravatar peavey2007-06-131-8/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7292 e03df62e-2008-0410-955e-edbf42e46eb7
* A ton more clear() and empty() stuff thats been lingering on the long term ↵Gravatar brain2007-06-091-2/+2
| | | | | | todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
* Add command /RSQUIT to spanningtree.Gravatar peavey2007-06-071-2/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7251 e03df62e-2008-0410-955e-edbf42e46eb7
* and a little tweak to remote MOTD too.Gravatar peavey2007-06-021-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7208 e03df62e-2008-0410-955e-edbf42e46eb7
* same for admin, and fix some returns.Gravatar peavey2007-06-021-2/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7207 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #297. /MODULES now correctly finds remote server on wildcard. ↵Gravatar peavey2007-06-021-10/+17
| | | | | | Marked for QA. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7206 e03df62e-2008-0410-955e-edbf42e46eb7
* And remove soem debugGravatar brain2007-05-311-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7193 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for issue discovered by satmd where it is possible to send an empty ↵Gravatar brain2007-05-311-0/+1
| | | | | | | | | | | string via privmsg or notice to a user target, against the RFC standard. Remote servers don't like this much. Also fix: NOTICE generates OnUserNotice event, but checks against the I_OnUserMessage hook. Also also fix (!): Missing colons in "no text to send" message. BOTH of these also fixes have been around since like, 1.0 alpha 1, and nobody's noticed them! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7192 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)Gravatar brain2007-05-301-5/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
* Display the proper transports for server ports *slap* :PGravatar brain2007-05-281-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7175 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove code for clientcount/servercount from /stats p. At the moment it was ↵Gravatar w00t2007-05-281-16/+6
| | | | | | slow, hacky and doesn't totally work properly (bind 2 same ports on diff. ips and watch it get confused ;p). It may be added back in a few versions once we have the infrastructure in place to tie a list of clients to a port. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7174 e03df62e-2008-0410-955e-edbf42e46eb7
* Show IPs that a port is bound to in /stats p, don't remove duplicate ports ↵Gravatar w00t2007-05-281-1/+4
| | | | | | anymore, since we know what IP a port belongs to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7173 e03df62e-2008-0410-955e-edbf42e46eb7
* - Add server ports to /stats p. This doesn't work properly yet as something ↵Gravatar w00t2007-05-281-0/+22
| | | | | | is not initialising port correctly in a constructor I'd guess. It also does not enumerate connected servers to see how many connected on a given listener yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7170 e03df62e-2008-0410-955e-edbf42e46eb7
* ...and remember the parameters ;)Gravatar brain2007-05-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7165 e03df62e-2008-0410-955e-edbf42e46eb7
* We were already sending FMODE +nt after each channel creation to keep ↵Gravatar brain2007-05-271-2/+1
| | | | | | services happy, just change this to send the servers default modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7164 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
* Windows support. Tested and working to compile on freebsd and linux. Next ↵Gravatar w00t2007-05-191-2/+2
| | | | | | 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
* We announce a ping timeout THREE different times and ways on the server that ↵Gravatar brain2007-05-161-2/+1
| | | | | | | | | sent the ping. this is excessive. Remove the announcement in DoPingChecks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7036 e03df62e-2008-0410-955e-edbf42e46eb7
* And fix another boobooGravatar brain2007-05-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7035 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a notice on connection close stating server link uptime, and fix a bug ↵Gravatar brain2007-05-161-7/+12
| | | | | | | | | 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
* We dont need to send FMODE for user mode changes, and the FMODE handler ↵Gravatar brain2007-05-131-2/+4
| | | | | | doesnt need to error on FMODE from a user if we get one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7017 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix remote bursting with quietbursts, before QA actually test it :P (thanks ↵Gravatar brain2007-05-131-0/+6
| | | | | | HiroP) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7014 e03df62e-2008-0410-955e-edbf42e46eb7
* Poach feature request: If a server does not respond after x seconds to a ↵Gravatar brain2007-05-131-0/+7
| | | | | | PING, send a warning to opers via +l snomask. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7010 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ping timeout ERROR not being generated when a server pings out, making ↵Gravatar brain2007-05-091-0/+1
| | | | | | | | | the other end appear to be closed unexpectedly without reason. Find and fix the 3 ping timeout messages for server to server that were using WriteOpers instead of snomask +l git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6933 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for new apiGravatar brain2007-05-031-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6859 e03df62e-2008-0410-955e-edbf42e46eb7