aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra
Commit message (Collapse)AuthorAgeFilesLines
...
* Slight tidyup: type name = type(args); --> type name(args);Gravatar om2006-07-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4470 e03df62e-2008-0410-955e-edbf42e46eb7
* Make SQLexception inherit ModuleExceptionGravatar om2006-07-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4468 e03df62e-2008-0410-955e-edbf42e46eb7
* Updates, should be able to safely unload client modules with queries in ↵Gravatar om2006-07-202-4/+59
| | | | | | | | progress now... Ideas on how to test this welcome ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4464 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay, working PostgreSQL module, API header and example client module in ↵Gravatar om2006-07-203-10/+331
| | | | | | /extra/, enjoy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4463 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay, this is getting towards working now. It just needs the API ↵Gravatar om2006-07-202-384/+506
| | | | | | finishing...everything in the backend part seems to be working okay git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4456 e03df62e-2008-0410-955e-edbf42e46eb7
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵Gravatar brain2006-07-162-2/+2
| | | | | | | | | | parameters to commands in handlers) which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes/codes of the query queue, various prototypes and stuff...mostly ↵Gravatar om2006-07-161-26/+42
| | | | | | commited so I can do other stuff without typing the paths out manually git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4401 e03df62e-2008-0410-955e-edbf42e46eb7
* A few updates to the API headerGravatar om2006-07-121-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4363 e03df62e-2008-0410-955e-edbf42e46eb7
* FixedGravatar brain2006-07-111-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4321 e03df62e-2008-0410-955e-edbf42e46eb7
* Inherit just about everything from classbaseGravatar brain2006-07-103-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
* Making lots of stuff inherit from classbase so we can use it as a holdall ↵Gravatar brain2006-07-103-5/+5
| | | | | | class that we can throw around with dynamic_cast<> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4297 e03df62e-2008-0410-955e-edbf42e46eb7
* GetExt conversionGravatar brain2006-07-101-6/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4289 e03df62e-2008-0410-955e-edbf42e46eb7
* Templated GetExt()Gravatar brain2006-07-101-6/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4288 e03df62e-2008-0410-955e-edbf42e46eb7
* Support for systems without stdint.h (we make a guess at sizeof(unsigned ↵Gravatar brain2006-07-101-298/+0
| | | | | | int) == 32... if youre running an outdated OS its your own fault) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4261 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay..updates to u_listmode, general cleanups and add some virtual methods ↵Gravatar om2006-07-092-66/+122
| | | | | | | | which subclasses can override to alter behaviour..all looking much nicer and more flexible now. Update m_chanfilter to use u_listmode, demonstrates most or all of the new features of it and looks a hell of a lot prettier :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4201 e03df62e-2008-0410-955e-edbf42e46eb7
* Refactored user modes to work like the channel modes - core and module data ↵Gravatar brain2006-07-081-2/+2
| | | | | | now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff for m_pgsql in, provider-side API stuff semi-doneGravatar om2006-07-072-45/+225
| | | | | | Add m_sqlv2 header for the new API git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4122 e03df62e-2008-0410-955e-edbf42e46eb7
* modules.*: Put some void* back to char*, sorry if they were only like that ↵Gravatar om2006-07-071-28/+36
| | | | | | because of me... :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4119 e03df62e-2008-0410-955e-edbf42e46eb7
* Change InspSocket's private members to only be protected, I couldn't find ↵Gravatar om2006-07-031-0/+519
| | | | | | | | any other way to do this before we get around to rewriting the socket engine. Commit very first, very alpha, not-very functional version of the PostgreSQL module. It compiles..and that's..err..about it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4112 e03df62e-2008-0410-955e-edbf42e46eb7
* Added SQLQuery::GetError() and removed a lot of space indentingGravatar special2006-06-281-63/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4078 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for m_ssl_openssl dying if the DH params file doesn't exist, compiles ↵Gravatar om2006-06-161-5/+6
| | | | | | but untested cause I'm sleepy :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4014 e03df62e-2008-0410-955e-edbf42e46eb7
* Now uses mysql_config and mysql_rpath.plGravatar brain2006-06-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4007 e03df62e-2008-0410-955e-edbf42e46eb7
* Nicer SQLQuery::SanitiseGravatar brain2006-06-151-11/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4006 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed logic for OnWhois "is using SSL" numeric. Was broken: required the ↵Gravatar brain2006-06-012-3/+3
| | | | | | | | | user to have the 'ssl' extensible AND be in the listen ports, so it didnt work on remote users which didnt have the listen port. Now properly checks to display by using: if(dest->GetExt("ssl") || (IS_LOCAL(dest) && isin(dest->port, listenports))) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3984 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply mirq's optimization patchesGravatar brain2006-05-303-45/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3977 e03df62e-2008-0410-955e-edbf42e46eb7
* change to ability for QueryCount to return -1 for both of the 1.1 sql api'sGravatar brain2006-04-301-4/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3921 e03df62e-2008-0410-955e-edbf42e46eb7
* In 1.1, we return a negative value when QueryCount has a downed connection - ↵Gravatar brain2006-04-301-2/+3
| | | | | | not changed in 1.0 for backwards compatibility git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3920 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge of peaveydk's diff (at last)Gravatar brain2006-04-301-3/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3918 e03df62e-2008-0410-955e-edbf42e46eb7
* delete operator tracking in debug mode (using a macro -- live with it.)Gravatar brain2006-04-247-38/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
* Include paths changeGravatar brain2006-04-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3899 e03df62e-2008-0410-955e-edbf42e46eb7
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵Gravatar om2006-04-083-1/+3
| | | | | | going into inspircd.*, doesn't look like I've broken anything... :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵Gravatar w00t2006-04-064-94/+115
| | | | | | THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up around the ex AMD64 'fix'Gravatar om2006-03-171-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3727 e03df62e-2008-0410-955e-edbf42e46eb7
* Did the same thing here :/Gravatar om2006-03-171-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3726 e03df62e-2008-0410-955e-edbf42e46eb7
* Giving printf formats and not giving it arguments for them != cunningGravatar om2006-03-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3725 e03df62e-2008-0410-955e-edbf42e46eb7
* AMD64 warning 'fix' which tested fine when I added it seems to now...stop ↵Gravatar om2006-03-171-1/+2
| | | | | | things connecting...which is just cunning imo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3724 e03df62e-2008-0410-955e-edbf42e46eb7
* Experimental change to avoid warning on 64bit systems, this is a simple ↵Gravatar om2006-03-141-2/+7
| | | | | | one-line rollback if anyone has trouble (but it fixes the warning bugging me ;p) - Works on AMD64 Linux git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3712 e03df62e-2008-0410-955e-edbf42e46eb7
* *hits eggy with a stick*Gravatar brain2006-03-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3710 e03df62e-2008-0410-955e-edbf42e46eb7
* Now compiles :pGravatar brain2006-03-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3709 e03df62e-2008-0410-955e-edbf42e46eb7
* deprecated covariant return type flux capacitor flopcircuit removal with ↵Gravatar brain2006-03-111-1/+1
| | | | | | reference pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3662 e03df62e-2008-0410-955e-edbf42e46eb7
* And moreGravatar brain2006-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3657 e03df62e-2008-0410-955e-edbf42e46eb7
* More const ref fixesGravatar brain2006-03-118-27/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3656 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed m_sqlauth to allow more advanced encryption typesGravatar brain2006-03-081-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3549 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed Server* Srv stuff in these too, although by default these arent ↵Gravatar brain2006-02-264-15/+5
| | | | | | available to win32 builds git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3333 e03df62e-2008-0410-955e-edbf42e46eb7
* Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer ↵Gravatar brain2006-02-221-1/+1
| | | | | | | | | | as NICKLEN+1 to ease understanding by newbs who didnt know what thou null terminator was. And yae, at a date later hence, Ye Brain then setteth ye buffer back to NICKLEN again. Alas, neither Ye Brain nor Ye trusty followers hath then setteth back the rest of the core to NICKLEN-1, and verily, chaos ensued. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3286 e03df62e-2008-0410-955e-edbf42e46eb7
* Server::AddExtendedMode and Server::AddCommand will now throw exceptions ↵Gravatar brain2006-02-191-1/+1
| | | | | | when adding a bad mode or already existing command. If the module constructor does not handle this exception, this will abort the module's constructor, forbidding loading of modules which are unable to function (smart eh) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3246 e03df62e-2008-0410-955e-edbf42e46eb7
* More exception throwing in constructorsGravatar brain2006-02-191-6/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3245 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra checks to not set the ssl marker twice on re-handshake (nonfatal but ↵Gravatar brain2006-02-112-2/+4
| | | | | | wasteful) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3168 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a sanity check that was left out, prevents crash on invalid fd (e.g. ↵Gravatar brain2006-02-112-2/+9
| | | | | | via excess flood on oper or connect) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3151 e03df62e-2008-0410-955e-edbf42e46eb7
* Add .c_str()'s to m_sqloper in call to OneOfMatches(), and change prototype ↵Gravatar om2006-02-051-19/+25
| | | | | | of OneOfMatches to take const char* instead of char*. Either that or case all the .c_str()'s to lose the const :" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3091 e03df62e-2008-0410-955e-edbf42e46eb7