summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
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-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-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-09Make safelist use repeat timer.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6270 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-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-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-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-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-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 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-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-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-01Fix to allow for OnRehash to know what user initiated the rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Make sure that if an oper opers up and has an swhois in their opertype or ↵brain
oper tag, the swhois is sent out as metadata git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01This should fix it on two fronts: missing Implements() value, and OnWhois ↵brain
doesnt work for remote, so instead we hook OnWhoisLine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01This is it, i thinkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Blahbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Debug stuff, pay it no attentionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6202 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Whoops, forgot to put something back that i took out during testing!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6201 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Again, dont use this yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6200 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Do not use these tweaks yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6199 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Fix odd desync in FJOIN (this was some hax we put in, and forgot to take out)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6198 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Fix this so it works properly, and removes the descriptions on unload (when ↵brain
the sockets revert back to plaintext) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6197 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Add port type identifiersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6196 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31Fix broken LOLCODEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6192 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31Tidyup a bit, get rid of some valgrind warnings.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6191 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31Casting for concisenessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6190 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31Make this new idea O(1) instead of O(x*y)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6189 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31Thanks AnMasterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6188 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31<hostname:charmap> defines the valid characters in a hostmask (this is for ↵brain
you webs to obsolete your patch :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6186 e03df62e-2008-0410-955e-edbf42e46eb7