summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-08Add /CLEARCACHE, oper only command which completely purges the DNS cache -- ↵brain
useful if you just want to cut down on ram use at any point. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6259 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08Now even less leakage on add.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6258 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08Oh, this tweak is for w00t -- rehash will remove expired items from the dns ↵brain
cache git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6257 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Update a comment, and touch a header just to make people rebuild stuff >:)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6256 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07If the result is cached, dont bother waiting for the dns timeout, release ↵brain
them at the next timer tick if all modules are satisfied git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6255 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Document dns caching, add a "bool cached" to OnLookupComplete method in ↵brain
Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07And its all done and working!brain
(note, we still need to test cache expiry) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6253 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07DNS caching stuff (almost done)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Tidy up old MaintainWhoWas.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6251 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07DNS Stuff - this wont work right yet, it will soon (tm)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Move all /WHOWAS related out of core and into cmd_whowas.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6249 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Fix m_testcommand which tries to use an undefined pointer as ServerInstancebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6248 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Add TTL stuff to dns system (pass it to inherited objects)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Rename all the classes in m_httpd to be HttpServer etc,brain
Make a copy of the request in the http client so we dont need to leave pointers hanging around in the requestor module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6246 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Make this use the newer format of class Request (this module was still using ↵brain
the old cast-data-to-char*-and-use-getdata-method) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6245 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Make this compile.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6244 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Added m_http_client - this is incomplete and won't work at all, don't try to ↵special
use it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6243 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Adding CIDR support to m_check: as easy as adding a 'true' to match()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6242 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07add internal cmdhandler that will make it easy to move stuff out of core and ↵peavey
into a reloadable command. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Whoopsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6240 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Dont try and show idle time of remote opers in STATS Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6239 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Fix remote opers not being added to all_opers.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6238 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Fix modecount on remote NICKw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6237 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Fix SVSJOIN desync (nothing too severe, don't panic) noticed on CS, found by ↵w00t
me/Brain :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6236 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Extra check so that we dont get -O-s when doing:brain
MODE #chan +Osnt MODE #chan -O+n-s (the +n would get dropped, but the - and the s get put in the mode sequence) To fix, we store the last *successful* state change, as well as the last attempted state change. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6235 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Fix for bug #186 reported by peaveybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6234 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Fix minor NICK / modes issue that goes against our public spec, and crashes ↵w00t
denora when introducing clients from a remote server git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6233 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Fix desync with halfop and voice when opped (this happens because we were ↵brain
ORing the wrong value in chanrec::ForceChan) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6232 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06*slaps self* for not test compilingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6231 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Fix crash when unloading ssl module on shutdown -- there are no port objects ↵brain
to set the description back to 'plaintext' on, here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6230 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Try this AnMasterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6229 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Fix oper count, we cant decrement ModeCount('o') from the userrec destructor ↵brain
as its already been removed earlier git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6228 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-06Repeat after me class, deleting values that arent newed isnt good for your ↵brain
health git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6227 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-04Run ./configure -modupdate to fix "make install" error. INSTMODE doesnt seem ↵brain
to be inherited by src/modules/Makefile unless its passed in MAKEARGS git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6226 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-04Merge buildsystem tweaks from darix:brain
$ patch <inspircd-1.1b8_build_system.patch $ patch <inspircd-1.1b8_mod_permissions.patch Thanks :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6225 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-04And fix this bit toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6224 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-04Massive speedups for applying and checking perm xlines - matches_*line() now ↵brain
has a permonly optional param, and apply_lines can be passed an APPLY_LOCAL_ONLY. Also, improve speed of config reading stuff when reading in the lines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6223 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-03Beta 9 RELEASE .... *cough* just kidding, i mean beta 9 SVN track :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6222 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-031.1.0+B8-Hamster!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6220 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-03Fix lusers breakage introduced by latest set of optimizationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6219 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-03SirOlli gets credit for this fix, because he was the only one willing to ↵brain
work with us till we cracked it :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6218 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02Fix for crash in desync of whowas lists on rehash. Also less mem leakage on ↵peavey
adding to whowas. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6217 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02Remove a TODO comment. Also added support for <database:port> option since ↵peavey
r6213 so we can now connect to other ports than the standard mysql 3306 port. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6216 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02m_mysql can now do REHASH proper. Detects any changes made to config and ↵peavey
loads/removes as needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6215 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02Fix: If sql user and pass matched, but not operclass or host, conf based ↵peavey
command would NOT be called and request would die quietly without notifying the user or send SNOtice of failed attempt. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6214 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02Also use SQLhost for host config.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6213 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02Use SQLhost from m_sqlv2.h and tidyup some code. Plus throw less module ↵peavey
exceptions and warn instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6212 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02Add class SQLhost that represents a <database> config line.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6211 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02Update cloak keys example to use hex definition of the right lengthbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6210 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-02Add support for suffixes K, M, G (kilo, mega, gigabyte) and prefix 0x (hex)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6209 e03df62e-2008-0410-955e-edbf42e46eb7