summaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* We had to roll our own time function because some craqsmoker thought having ↵Gravatar brain2007-04-061-1/+1
| | | | | | | | | a carriage return on the end of ctime and asctime was a great idea, and the only other solution is to fanny around with strftime. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6749 e03df62e-2008-0410-955e-edbf42e46eb7
* Show expiry times of glines, klines, qlines and elines as the time theyre ↵Gravatar brain2007-04-061-1/+2
| | | | | | | | | due to expire rather than number of secs (thanks bricker) Oh, and i hate C time formatting functions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6748 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #224 by refreshing the security ip cache every hour. The easier ↵Gravatar brain2007-04-067-0/+83
| | | | | | 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
* Fix for bug #199 (Feature request) submitted by owine. Ended up adding an ↵Gravatar brain2007-04-051-1/+3
| | | | | | | | | extra parameter to <uline> for this. It turned into a biggie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for <link:hidden> fixes feature request documented in bug #247 ↵Gravatar brain2007-04-056-20/+37
| | | | | | 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-055-1/+34
| | | | | | Adds feature requested by bug #246 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6737 e03df62e-2008-0410-955e-edbf42e46eb7
* This needs some general QA-ing. Add support to new parser (introduced in ↵Gravatar brain2007-04-022-6/+6
| | | | | | 1.1) for empty final params (just the colon) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6731 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
* Check validity (length) of all NICK parameters to make sure we're not ↵Gravatar brain2007-03-241-11/+44
| | | | | | | | | introducing a dodgy client (such as one introduced by dmb's dodgy program) Normally, NICK parameters longer than allowed are weeded out by CAPAB but sending CAPAB is optional. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6705 e03df62e-2008-0410-955e-edbf42e46eb7
* Update a notice on server already existing to be more clearGravatar w00t2007-03-201-1/+1
| | | | | | - Update ModDesc for m_hidechans git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6693 e03df62e-2008-0410-955e-edbf42e46eb7
* Change back to FMODE for channel mode changes from usersGravatar brain2007-03-181-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6691 e03df62e-2008-0410-955e-edbf42e46eb7
* set the TS of a channel in JoinUser, not after the entire FJOIN, this is ↵Gravatar brain2007-03-182-15/+5
| | | | | | safer and may fix the odd desync here and there git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6690 e03df62e-2008-0410-955e-edbf42e46eb7
* Abort link at +/- 300secs, warn at +/- 30 secsGravatar brain2007-03-171-3/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6689 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote /MODULESGravatar brain2007-03-164-10/+83
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6688 e03df62e-2008-0410-955e-edbf42e46eb7
* Now syncs with the master every 10 minsGravatar brain2007-03-161-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6686 e03df62e-2008-0410-955e-edbf42e46eb7
* Wtf, ive found the source of the drift, it adds the old delta to the new!Gravatar brain2007-03-161-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6685 e03df62e-2008-0410-955e-edbf42e46eb7
* Different timesync, dont use yetGravatar brain2007-03-165-37/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6683 e03df62e-2008-0410-955e-edbf42e46eb7
* Add third parameter to OnUserQuit (quit reason for opers only) - bump api ↵Gravatar brain2007-03-154-3/+31
| | | | | | | | | | | version Add SetOperQuit and GetOperQuit methods to userrec Add OPERQUIT command to protocol - bump protocol version All this is to properly allow hidebans etc to work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone is getting slapped for this; the new hidesplits/hidebans behavior ↵Gravatar special2007-03-151-1/+6
| | | | | | doesn't actually check if those options are enabled. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6673 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove stray "Notice:" - text only changeGravatar brain2007-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6663 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a crash with a malformed server-to-server NICK command, thanks dmbGravatar special2007-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6656 e03df62e-2008-0410-955e-edbf42e46eb7
* Just commentsGravatar brain2007-03-111-1/+71
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6655 e03df62e-2008-0410-955e-edbf42e46eb7
* Comments only.Gravatar brain2007-03-114-22/+156
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6653 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump protocol revisionGravatar brain2007-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6652 e03df62e-2008-0410-955e-edbf42e46eb7
* This now makes RemoveStatus remove *everything* as pointed out by jilles. ↵Gravatar brain2007-03-101-36/+5
| | | | | | This will prevent simplemodes desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6651 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a TODO commentGravatar brain2007-03-101-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6650 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, fix a silly bug i just introduced :pGravatar brain2007-03-101-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6649 e03df62e-2008-0410-955e-edbf42e46eb7
* Move FJOIN propogation above the FMODEs generated by winning an FJOINGravatar brain2007-03-101-5/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6648 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typoGravatar brain2007-03-101-10/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6645 e03df62e-2008-0410-955e-edbf42e46eb7
* HIGHLY EXPERIMENTAL: This needs heavy testing -- new FMODE behaviour:Gravatar brain2007-03-101-255/+4
| | | | | | | | (1) IF THEIRTS <= OURTS, ACCEPT MODE AND PASS ON (2) If THEIRTS > OURTS, drop the mode and DONT pass on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6644 e03df62e-2008-0410-955e-edbf42e46eb7
* Take away a uline specific check in fmode, which might explain why desyncs ↵Gravatar brain2007-03-081-8/+1
| | | | | | | | | between servers only occur when theres a ulined server about. QA please test this with at least 2 insps and services and server syncs/splits, check for channel mode desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6638 e03df62e-2008-0410-955e-edbf42e46eb7
* Change options:notimesync to options:timesync -> reverse its meaning and ↵Gravatar brain2007-03-081-1/+1
| | | | | | default it to off git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6637 e03df62e-2008-0410-955e-edbf42e46eb7
* This properly fixes options:hidebans and options:hidesplits by providing the ↵Gravatar brain2007-03-061-1/+1
| | | | | | | | | facility to have two different quit messages for a user, one an oper sees and one a normal user sees. There are default values on the oper_quit parameters through the entire source so that if oper_quit parameter is not given it defaults to the same as the user_quit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6630 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_services_account logout by allowing meta with empty data field. ↵Gravatar peavey2007-03-031-1/+3
| | | | | | Tracker: bug #226 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6618 e03df62e-2008-0410-955e-edbf42e46eb7
* Ensure that simplemodes are sent first (jilles requested this)Gravatar brain2007-02-251-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6611 e03df62e-2008-0410-955e-edbf42e46eb7
* Bans are bursted using a large string buffer to save on write() calls, so ↵Gravatar brain2007-02-251-3/+11
| | | | | | | | | the way we handle clamping the ban sending to 350 chars is slightly different than the changes just made to modestacker. works he same though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6610 e03df62e-2008-0410-955e-edbf42e46eb7
* Special *slap* seems to have set this to true :/Gravatar brain2007-02-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6574 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow for nick!user@host in TOPIC information.Gravatar brain2007-02-111-1/+1
| | | | | | | Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6572 e03df62e-2008-0410-955e-edbf42e46eb7
* Support port binding hereGravatar brain2007-02-076-5/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6535 e03df62e-2008-0410-955e-edbf42e46eb7
* And fix typo.Gravatar brain2007-02-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6523 e03df62e-2008-0410-955e-edbf42e46eb7
* Make use of new AAAA->A resolvingGravatar brain2007-02-061-3/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6522 e03df62e-2008-0410-955e-edbf42e46eb7
* Stuff to allow resolving of AAAA record, and on failure try A recordGravatar brain2007-02-062-2/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6521 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix resolving of security ips to allow for ipv4 resolution when built for ipv6Gravatar brain2007-02-062-5/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6520 e03df62e-2008-0410-955e-edbf42e46eb7
* Heavy state of debug. If you are a developer, please avoid making use of ↵Gravatar brain2007-02-051-1/+1
| | | | | | this bit of code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6498 e03df62e-2008-0410-955e-edbf42e46eb7
* Add strerror(errno) to port bind failure on TreeSocketGravatar brain2007-01-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6461 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove debug, add a few commentsGravatar brain2007-01-281-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken openssl outbound connects.Gravatar brain2007-01-281-0/+5
| | | | | | | | A record needs to be kept of if this session was initially outbound or inbound, so we know if we need to re-call SSL_connect or SSL_accept on handshake failure, we also need to have two SSL_CTX's, one initialized as a client context and one as a server context (this is EW, but i guess its just how openssl does stuff) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6449 e03df62e-2008-0410-955e-edbf42e46eb7
* Potential desync on "nick collision at same time as fjoin" fixGravatar brain2007-01-271-7/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6445 e03df62e-2008-0410-955e-edbf42e46eb7