summaryrefslogtreecommitdiff
path: root/src/modules/extra
AgeCommit message (Collapse)Author
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
2006-01-31Some changes to some stuff..om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2996 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30Wrong userrec var usedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2993 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30Moved metadata code into into OnGlobalConnectbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2991 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30Added new event into m_spanningtree, event id send_metadata, which allows ↵brain
arbitary posting of metadata outside of the netburst see line 529 of m_ssl_gnutls for an example of how to use it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2990 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30Change irritatingly Unreal-ish capitalisationom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2989 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29Created OnPostOper that can be gauranteed to be called *after* opering (by ↵brain
ALL modules) is done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2973 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29Tidied up intending, oh no, really serious fatal bug right there :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2967 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29Remove -lcryptoom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2965 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29Missing delete for config readerom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2964 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29Add checks for AddIOHook failingom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2963 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29Change isin() x2 to pass a const reference insteadom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2962 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29Wheee, two SSL modules :D And they work together ^^om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2961 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28Deleted the semicolon that had half the dev team wondering...om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2955 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28A few tweaks here and therebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2954 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28Missing externbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2950 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28TESTME: Fix to this to make it work with newer OnPreCommand event (a ↵brain
parameter was added since this was written and it no longer fitted the virtual method of the base class) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2949 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28Incorporated Craig's friendlier SQL class (documentation to come later)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2948 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28Fix small memory leaks in some cases (bad password, bad query, lost mysql ↵om
server connection etc..) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2947 e03df62e-2008-0410-955e-edbf42e46eb7