summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-09Add specialization for ConvToStr on a single char, return std::string(in,1) :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6276 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09This is better, and proved workingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6275 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09This is a bit betterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6274 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Overloaded template classes for mucho improved ConvToStr speedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6273 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09TimeSyncTimer now uses repeat timer.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6272 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Assigning a std::string var initially to "" is pointless.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6271 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Make safelist use repeat timer.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6270 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Tidy up (optimize, improve) chanrec::WriteChannelWithServbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6269 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Tidy up an if/then/else chain into a switchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6268 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Cache channel max bans value to save an O(n) loop of match() on every ban ↵brain
(etc) add git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6267 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08cmd_whowas now uses the shiny new repeating timer.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6266 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08Tweaks to mode parserbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6265 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08Add repeating timers, and make an hourly prune of the dns cache, otherwise a ↵brain
cache entry might not be cleared until a user with that ip comes back! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6264 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08 user->WriteServ( "371 %s :. o O ( The Inspire Internet Relay Chat ↵brain
Server ) O o .", user->nick); user->WriteServ( "371 %s : ( Putting the ricer into ircer since 2007 )", user->nick); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6263 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08Someone forgot to add clearcache to the makefile install (thanks AnMaster)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6262 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08getpidfile was not working at all. Fix it to work as intended.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6261 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08Move whowas containers into whowas class to avoid all cpp files including ↵peavey
cmd_whowas.h to try and destroy the containers on fork exit.\nThis would cause a segfault when forking due to the containers destroy being called multiple times, but still allow the server to fork it's child and leave the server running. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6260 e03df62e-2008-0410-955e-edbf42e46eb7
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