summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* It might be slightly slower, but memset the array as we're using it as a ↵Gravatar brain2007-04-081-0/+3
| | | | | | matrix not a simple char*. This will mean that the possibility of past data being left behind in the buffer wont happen git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6762 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the lines wide enough to hold the new dataGravatar brain2007-04-081-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6760 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #224 by refreshing the security ip cache every hour. The easier ↵Gravatar brain2007-04-061-0/+5
| | | | | | solution of course is not use crappy dynamic ips :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6745 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for <link:hidden> fixes feature request documented in bug #247 ↵Gravatar brain2007-04-051-4/+11
| | | | | | reported by owine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6738 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra /map info (connection uptime, and lag time) to /MAP for opers. ↵Gravatar brain2007-04-051-1/+18
| | | | | | Adds feature requested by bug #246 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6737 e03df62e-2008-0410-955e-edbf42e46eb7
* The other half of special's LUSERS fixGravatar brain2007-04-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6729 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow some commands to use a mask of * (this usually finds the 'root' server)Gravatar brain2007-03-251-8/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6711 e03df62e-2008-0410-955e-edbf42e46eb7
* Test stuff to fix remote stats brokageGravatar brain2007-03-241-1/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6710 e03df62e-2008-0410-955e-edbf42e46eb7