summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-04-06Missing newlinebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6751 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-06Add a facility to allow starting as root, bin/inspircd -runasrootbrain
if you actually specify this parameter, the daemon displays a huge warning in caps, then hangs for 5 secs to give you chance to ctrl+c if you made a mistake. If you dont ctrl+c it, it then starts normally. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6750 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-06We had to roll our own time function because some craqsmoker thought having ↵brain
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
2007-04-06Show expiry times of glines, klines, qlines and elines as the time theyre ↵brain
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
2007-04-06Check for people with lack of clue putting "!" in gline/kline/zline masks :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6747 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-06Add <hostname:charmap> to example.confpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6746 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-06Fix bug #224 by refreshing the security ip cache every hour. The easier ↵brain
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
2007-04-06Fix the previous commit better - always copy the null terminator (oops)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6744 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-06Fix issue spotted by devious - if a value is defined and a later rehash ↵brain
clears the value to empty, the value is not unset properly because it tries to memcpy zero bytes to the value - this means memcpy just returns immediately. Now if the string value is 0 in length we copy one byte instead (which just copies the null terminator) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6743 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Fix for bug #199 (Feature request) submitted by owine. Ended up adding an ↵brain
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
2007-04-05Fix for bug #216, m_cloaking now tries to cloak a larger amount of the ↵brain
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
2007-04-05Add 'silent' option to example confbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6740 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add filter type 'silent', as requested in bug #235 reported by Casey.brain
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
2007-04-05Add support for <link:hidden> fixes feature request documented in bug #247 ↵brain
reported by owine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6738 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add extra /map info (connection uptime, and lag time) to /MAP for opers. ↵brain
Adds feature requested by bug #246 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6737 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-05Add feature outlined in bug #192, give a notice showing cipher on connect to ↵brain
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
2007-04-04Before i was rudely interrupted by a FUCKING *RAM FAILURE*, i was going to ↵brain
commit this patch which fixes the error message given out when a module cant be loaded. Thanks darix for spotting it first. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6735 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-02If the user has a nick, use it in the numericbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6734 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-02"NICK :" did nothing and said nothing. It now says erroneous nick and uses ↵brain
the correct numeric. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6733 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-02A quick glance at ircu indicates that when an empty gecos is given in USER, ↵brain
it is replaced by 'No info', rather than our way of saying 'not enough parameters', so we'll do this as it seems to make sense. The RFC is unclear here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6732 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-02This needs some general QA-ing. Add support to new parser (introduced in ↵brain
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
2007-04-02Fixed a DNS timeout race condition that could result in a NOTICE AUTH ↵special
message being sent after connecting (thanks NBKWH5I) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6730 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-02The other half of special's LUSERS fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6729 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Fixed numeric for one of the lusers messages (was 254, should've been 255)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6728 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-01Add feature to this module which allows you to specify that an oper requires ↵brain
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
2007-04-01Add -config parameter to bin/inspircd which allows a user to specify the ↵brain
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
2007-04-01Add m_seenicks.so, adds snomasks +nN which show local and remote nick ↵brain
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
2007-04-01Make it use the static text for the reason instead, i have a feeling clients ↵brain
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
2007-04-01Add m_jumpserver, allows server forwarding with RPL_REDIR numeric 010. xchat ↵brain
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
2007-04-01Add <options:fixedquit> and <options:suffixquit> to go along with the ↵brain
existing <options:prefixquit>. note that fixedquit overrides both suffix and prefix if set git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6722 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-31Tweak to numeric 378: is connecting from ident@hostw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6721 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-31Add macros IS_OPER() and IS_AWAY()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6720 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-30hidechans: allow showing on self whois, QA, test if you're bored :pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6719 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-30Add extra stuff to LIST.brain
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
2007-03-29Make this available to all usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6717 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-29Add snomasks to /check on a user (QA, please test), also return ↵w00t
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
2007-03-26Fix bug reported by darix where inspircd process returns 15 for successful ↵brain
startup rather than the correct 0 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6715 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-251.1.4+Norvegiabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6713 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-25Remove excessive debuggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6712 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-25Allow some commands to use a mask of * (this usually finds the 'root' server)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6711 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24Test stuff to fix remote stats brokagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6710 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24Remove unused varbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6709 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24Fix untidy debug outputbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6708 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24Fix two things: (1) log gets replaced by a user fd after restart causing ↵brain
debug log to go to a user's status window (!) (2) restart failing due to segfault within libc (this is because some moron decided that stdin, stdout, and stderr should still be non-null if the files arent actually open!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6707 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24m_showwhois now sends a message for remote whois as wellspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6706 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24Check validity (length) of all NICK parameters to make sure we're not ↵brain
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
2007-03-24Remove unused variablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6704 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-23Ident fixes, to make sure that if you dont get an ident reply you cant sneak ↵brain
through without a "~" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6703 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-23ident over ipv6 fixes, and fixes to inspsocket BindAddr which wasnt doing ↵brain
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
2007-03-23Tweak some stuff aboutbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6701 e03df62e-2008-0410-955e-edbf42e46eb7