summaryrefslogtreecommitdiff
path: root/src/modules/extra
AgeCommit message (Collapse)Author
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
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
2006-07-16Fixes/codes of the query queue, various prototypes and stuff...mostly ↵om
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
2006-07-12A few updates to the API headerom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4363 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4321 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Inherit just about everything from classbasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Making lots of stuff inherit from classbase so we can use it as a holdall ↵brain
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
2006-07-10GetExt conversionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4289 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Templated GetExt()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4288 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Support for systems without stdint.h (we make a guess at sizeof(unsigned ↵brain
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
2006-07-09Okay..updates to u_listmode, general cleanups and add some virtual methods ↵om
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
2006-07-08Refactored user modes to work like the channel modes - core and module data ↵brain
now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-07More stuff for m_pgsql in, provider-side API stuff semi-doneom
Add m_sqlv2 header for the new API git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4122 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-07modules.*: Put some void* back to char*, sorry if they were only like that ↵om
because of me... :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4119 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03Change InspSocket's private members to only be protected, I couldn't find ↵om
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
2006-06-28Added SQLQuery::GetError() and removed a lot of space indentingspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4078 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-16Fix for m_ssl_openssl dying if the DH params file doesn't exist, compiles ↵om
but untested cause I'm sleepy :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4014 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15Now uses mysql_config and mysql_rpath.plbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4007 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15Nicer SQLQuery::Sanitisebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4006 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-01Fixed logic for OnWhois "is using SSL" numeric. Was broken: required the ↵brain
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
2006-05-30Apply mirq's optimization patchesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3977 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-30change to ability for QueryCount to return -1 for both of the 1.1 sql api'sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3921 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-30In 1.1, we return a negative value when QueryCount has a downed connection - ↵brain
not changed in 1.0 for backwards compatibility git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3920 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-30Merge of peaveydk's diff (at last)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3918 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24delete operator tracking in debug mode (using a macro -- live with it.)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-20Include paths changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3899 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵om
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
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
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
2006-03-17Tidy up around the ex AMD64 'fix'om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3727 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-17Did the same thing here :/om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3726 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-17Giving printf formats and not giving it arguments for them != cunningom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3725 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-17AMD64 warning 'fix' which tested fine when I added it seems to now...stop ↵om
things connecting...which is just cunning imo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3724 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-14Experimental change to avoid warning on 64bit systems, this is a simple ↵om
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
2006-03-13*hits eggy with a stick*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3710 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13Now compiles :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3709 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11deprecated covariant return type flux capacitor flopcircuit removal with ↵brain
reference pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3662 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11And morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3657 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11More const ref fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3656 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Changed m_sqlauth to allow more advanced encryption typesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3549 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Fixed Server* Srv stuff in these too, although by default these arent ↵brain
available to win32 builds git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3333 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer ↵brain
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
2006-02-19Server::AddExtendedMode and Server::AddCommand will now throw exceptions ↵brain
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
2006-02-19More exception throwing in constructorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3245 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-11Extra checks to not set the ssl marker twice on re-handshake (nonfatal but ↵brain
wasteful) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3168 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-11Added a sanity check that was left out, prevents crash on invalid fd (e.g. ↵brain
via excess flood on oper or connect) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3151 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-05Add .c_str()'s to m_sqloper in call to OneOfMatches(), and change prototype ↵om
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
2006-02-04Added support for space-seperated lists here, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3075 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-04Added "char status" parameter to OnUserPreNotice and OnUserPreMessage for ↵brain
NOTICE @#chan etc. Tidied up craq++ in modules (copy and pasting OnUserPreNotice into OnUserPreMessage?! why not just call one from the other!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3072 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-04Added gnutls_rpath.pl. This works out the lib dir and does:brain
-Wl,--rpath -Wl,/lib/dir and outputs it, the $LinkerFlags of gnutls ssl module use it in backticks during link, so you dont get missing lib error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3069 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-04Only send 320 numeric if the SSL user is on our portom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3068 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03I R SECURE CONNECTION! (fix)frostycoolslug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3062 e03df62e-2008-0410-955e-edbf42e46eb7