summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-01-14g++ is picky about default params with overloadingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6324 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14OMG SQLITE3 support, almost there now =)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6321 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Add alias:matchcase config setting (per-alias, determines wether to match ↵brain
case on format string) and ability for case sensitive match() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6319 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Make m_sqlv2.h::SQLquery extend 'classbase', for easy passing as deque ↵peavey
parameter. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6318 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Allow aliasing of anything to anything, removing the need for tons of ↵brain
non-programmer tweaks to be modules. Also speed up matching of aliases by storing a map so we dont need to loop if we dont have an alias that looks like the current command (when allowing aliasing of ANYTHING this is required otherwise this module would be major cpu suck) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6317 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Bang! Gone due to new buildsystem.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6315 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Add eval() and exec() macros, that evaluate perl and execute commands at ↵brain
configure time, rather than delaying them with backticks till compile time. This picks up any errors sooner. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6311 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13Extra stuff to improve buildsystem, calculate lib and include dirs at ↵brain
configure time rather than at build time. This means that we can also throw errors at configure time if we cant find the libraries, rather than erroring at buildtime like we used to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6306 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13Tidy up the buildsystem a lot by encapsulating repeated detection routines ↵brain
for lib dirs and header dirs in make/utilities.pm. See the pl files in src/modules/extra for how to use the functions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6305 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13Get flags for sqlite3.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6304 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13Change this to use our md5 provider rather than MD5() in the querybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6303 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13Test fix for breakage with IPv6om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6302 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-12Improve handling of backend server being down. Also decraq some debug output ↵peavey
that was really confusing me. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6301 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-11Anyway the reason for this discussion - i wanted to do a test commit :p ↵brain
(insert a blank line here for it) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6299 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-11More tidyup.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6297 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-11Only use force if necessary! Tidy up debug output.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6296 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-11pgsql should now work thx to added posibility to force a fd out of the ↵peavey
socketengine. This should only be used as a *last resort* when dealing with 3rd party libs that invalidates a file descriptor beyond your control. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6295 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-11Closer now, but somehow libpq invalidates the file descriptor on server ↵peavey
shutdown leaving us in limbo. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6294 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10reconnects still broken, but getting there.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6293 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10SQLConn rewritten to use EventHandler instead of InspSocket. This is much ↵peavey
neater and gives total control of destroy and delete of resources. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6292 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10If we have a bitmask of 0 in apply_lines, dont even bother to run the function!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6291 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10Also, if the line already existed, dont OR the value in, so that if all the ↵brain
say, glines we receive already exist, dont bother to apply glines :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6290 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10Clever stuff for applying lines (this needs testing);brain
When bursting, we clear a bitmask to 0. When we receive glines etc, we OR bits in the bitmask to values of APPLY_GLINES, APPLY_KLINES etc depending on what we've received, e.g. is it ADDLINE G, or ADDLINE K. When we ENDBURST at the end of the burst, pass the bitmask to apply_lines, rather than APPLY_ALL :) NOTE: While not bursting, the bitmask is flushed after each gline, but this is still faster as only the line type we just added will be ORed in. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6289 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10Only send snotice if the eline doesnt exist yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6288 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10Improve speed of these, and only send out snotice if the gline doesnt ↵brain
already exist git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6287 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10Typopeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6286 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-10Change stats z to show volountary and involountary seperatelybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6285 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Add a call to InvalidateCache() to fix this:brain
[04:48] --- peavey is now known as PEAVEY [04:48] --- peavey is now known as peavey Second line should be PEAVEY -> peavey git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6282 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Made the real name value for /admin optional (line isn't displayed if not ↵special
specified) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6281 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Whoever added clearcache must have been asleep; they left the definition of ↵special
it as cmd_admin::Handle git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6280 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Made m_denychans support wildcardsspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6279 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09Revert repeat timer to old one, to make sure it only runs if list was ↵peavey
actually being called by a user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6277 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-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-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-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