summaryrefslogtreecommitdiff
path: root/src/modules
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
* Fix for bug #216, m_cloaking now tries to cloak a larger amount of the ↵Gravatar brain2007-04-051-1/+32
| | | | | | hostname for resolving hosts to fix the issue reported by satmd in bug #216 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6741 e03df62e-2008-0410-955e-edbf42e46eb7
* Add filter type 'silent', as requested in bug #235 reported by Casey.Gravatar brain2007-04-051-10/+11
| | | | | | | filter type silent for m_filter and m_filter_pcre does not notify opers, and just blocks the text. It does however tell the user their text was blocked and still log. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6739 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
* Add feature outlined in bug #192, give a notice showing cipher on connect to ↵Gravatar brain2007-04-052-0/+10
| | | | | | | | | users. Its not possible (without something really spammy and ugly) to show it to opers, and its no use showing it to opers anyway, this would just be a silly vanity feature :p (admins know its working - people are connecting on the ssl port!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6736 e03df62e-2008-0410-955e-edbf42e46eb7
* This needs some general QA-ing. Add support to new parser (introduced in ↵Gravatar brain2007-04-023-7/+7
| | | | | | 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
* Add feature to this module which allows you to specify that an oper requires ↵Gravatar brain2007-04-011-18/+34
| | | | | | ssl to oper up, but doesnt require a fingerprint git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6727 e03df62e-2008-0410-955e-edbf42e46eb7
* Add -config parameter to bin/inspircd which allows a user to specify the ↵Gravatar brain2007-04-012-2/+2
| | | | | | | | | config file on the commandline Note: This should really be a full pathname, and not a configuration file in the current directory. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6726 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_seenicks.so, adds snomasks +nN which show local and remote nick ↵Gravatar brain2007-04-012-1/+79
| | | | | | | | | changes (requested by giggsey, http://www.inspircd.org/forum/showthread.php?t=187) Fix m_nonicks description to not say it's globops. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6725 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it use the static text for the reason instead, i have a feeling clients ↵Gravatar brain2007-04-011-2/+2
| | | | | | are looking for the text of the numeric rather than the numeric itself :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6724 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_jumpserver, allows server forwarding with RPL_REDIR numeric 010. xchat ↵Gravatar brain2007-04-011-0/+188
| | | | | | doesnt seem to support this, can someone with mirc please test? (documentation to follow, so you know how.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6723 e03df62e-2008-0410-955e-edbf42e46eb7
* hidechans: allow showing on self whois, QA, test if you're bored :pGravatar w00t2007-03-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6719 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra stuff to LIST.Gravatar brain2007-03-301-8/+34
| | | | | | | Firstly allow RFC-specified >x and <x, and allow for glob matching to match the topic text, as well as the channel name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6718 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this available to all usersGravatar brain2007-03-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6717 e03df62e-2008-0410-955e-edbf42e46eb7
* Add snomasks to /check on a user (QA, please test), also return ↵Gravatar w00t2007-03-291-1/+2
| | | | | | CMD_LOCALONLY as we do NOT want to route check. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6716 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove excessive debuggingGravatar brain2007-03-251-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6712 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
* m_showwhois now sends a message for remote whois as wellGravatar special2007-03-241-1/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6706 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
* Ident fixes, to make sure that if you dont get an ident reply you cant sneak ↵Gravatar brain2007-03-231-10/+10
| | | | | | through without a "~" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6703 e03df62e-2008-0410-955e-edbf42e46eb7
* ident over ipv6 fixes, and fixes to inspsocket BindAddr which wasnt doing ↵Gravatar brain2007-03-231-1/+0
| | | | | | ipv6 outbound connects properly. You'll need to restart to apply this one, dmb git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6702 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweak some stuff aboutGravatar brain2007-03-231-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6701 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix small memory leakGravatar brain2007-03-231-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6700 e03df62e-2008-0410-955e-edbf42e46eb7
* EAGAIN fixes for gnutlsGravatar brain2007-03-221-2/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6698 e03df62e-2008-0410-955e-edbf42e46eb7
* We're checking for non-null session->sess in VerifyCertificate now. theres ↵Gravatar brain2007-03-221-3/+2
| | | | | | very little else we can do, as we know that *whenever* we clear an ssl session, we set this to null. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6697 e03df62e-2008-0410-955e-edbf42e46eb7
* Some tweaks for gnutlsGravatar brain2007-03-222-3/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6696 e03df62e-2008-0410-955e-edbf42e46eb7
* More checks in IS_HSDONE event hookGravatar brain2007-03-222-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6695 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crashes in ipv6 ssl using gnutls, and crashes when linking ssl to ↵Gravatar brain2007-03-222-2/+2
| | | | | | non-ssl by mistake, bug #245 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6694 e03df62e-2008-0410-955e-edbf42e46eb7
* Update a notice on server already existing to be more clearGravatar w00t2007-03-202-2/+2
| | | | | | - 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-187-20/+10
| | | | | | 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
* Improve this to show time with and without delta, without the user having to ↵Gravatar brain2007-03-161-3/+6
| | | | | | work it out in their head git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6684 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
* Optimise caps loop making it real neat. Thx Brain.Gravatar peavey2007-03-161-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6682 e03df62e-2008-0410-955e-edbf42e46eb7
* Change wording of 404 numeric to reflect that it's minlen or more.Gravatar peavey2007-03-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6681 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the numeric text to match the new configuration. Tidyup comments and ↵Gravatar peavey2007-03-151-3/+1
| | | | | | DEBUG. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6680 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for MAP of chars considered to be CAPS to config for better control.Gravatar peavey2007-03-151-5/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6678 e03df62e-2008-0410-955e-edbf42e46eb7
* Add third parameter to OnUserQuit (quit reason for opers only) - bump api ↵Gravatar brain2007-03-1517-15/+44
| | | | | | | | | | | 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
* Fix blockcaps. Who on earth thought that percentage was x*100 / y ???Gravatar brain2007-03-141-6/+6
| | | | | | | | Its (x/y)*100, muppets :p (also, you cant do floating point maths on integers) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6672 e03df62e-2008-0410-955e-edbf42e46eb7