summaryrefslogtreecommitdiff
path: root/src/modules/extra
AgeCommit message (Collapse)Author
2008-09-04This would be useful, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10391 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Of course, it DOES help to actually initialise the Mutex objects, and delete ↵brain
them on shutdown after the thread is gone git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10390 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Update commentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10389 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Now uses Mutex class. No need for pthreads use directly in this lib. Needs ↵brain
testing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10388 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Thread is now a Thread derived class, now need to convert the mutexes. With ↵brain
the new Mutex class, should be pretty easy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10387 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Make these more descriptive/easy to grokw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10353 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Some fixes for the ziplinks modules.psychon
It now uses the netbuffer size from config for its network buffers instead of always 128k. To avoid the inbuf filling up, it doesn't read anything from the net anymore until that buffer is empty again. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10349 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Remove two unused parametersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10346 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28Newly revamped ziplinks module, work of psychon.. resolves (a lot) of ↵w00t
problems with ziplinks and large data amounts, fixes a few bugs, etc. (thanks for your work). - Yes, this missed the alpha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10342 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28this new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be ↵brain
either, because it adds confusion and its clearly documented that initialising tls is done via STARTTLS and CAP advertises it (not to mention clients are already doing it this way) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10334 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28Add CAP REQ tls support, thanks to psychonw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10332 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27Clean up opering a tiny bit.. pave the way for SVSOPERw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10324 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27Delete R:Lines from memory on destroyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10313 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10290 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Nuke last references to MatchTextw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10217 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Match conversion stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Revert automated conversion by Special, as it (unfortunately) neglects some ↵w00t
details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist ↵special
anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-18Apply to clictx toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10164 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-18Forward-port r10160: openssl partial write fucking shit up, add Namegduf to ↵w00t
contributors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10161 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-09Fix for bug #583 reported by Deyan, thanks for the heads upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10128 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-23fix a little typo I found while checking some other stuffpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10068 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Lots, lots more numerics.h conversionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Fixed #568 - gnutls does not allow reuse of credentials, which was making ↵special
/rehash ssl not work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10001 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Fix a memory leak in m_mysql, found and patched by Dart in bug #570 - thanksw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9962 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24This is more correct, thanks Phoenixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-20It is unnecessary and rather less efficient to use memmove() everywhere; ↵special
it's only needed when the buffers may overlap. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9927 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-19Whos been commiting a quarter of a fix?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9925 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11Dont even bother to do the ldap bind if the password given is empty ↵brain
(performance boost) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9889 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11fixed some indentation and spacing in modulespippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-09Slight adjustment to our standard to avoid an obvious race condition found ↵brain
by anmaster and nenolod, only really reported by neno. Thanks :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9881 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08Properly ignore second STARTTLS request on same socket, as per our specbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9878 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Allow changing of command string and parameter vector within OnPreCommand, ↵brain
allowing for m_abbreviation and other fancy stuff. Add basic skeleton module for it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9840 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-28revert this 1 revision back, since it fell victim to collateral damage of ↵peavey
the latest refactor spree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9814 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-24Kick the client in the balls if they try STARTTLS after client registrationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9801 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-24Fix memory leak if we send STARTTLS twice, thanks special and psychonbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9800 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Convert channel::name to std::string, this was a beastie!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Convert connection::hostbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Clean this up so it's comprehensible.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9764 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Fix these toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9760 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Remove .c_str()'s in match() calls that are no longer needed as match() ↵brain
natively takes std::strings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-16MD_update causes valgrind warnings, remove it..... ...... JUST KIDDNG :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9727 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Check for windows drive letters on the start of paths and treat them the ↵brain
same as paths that start with /, this makes insp more friendly for windows filesystems git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9724 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Same fixes to make this module scale much better. Dont connect on each ↵peavey
query, keep open and send a byte like MySQL module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9687 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fixes to make this module scale much better. Dont connect on each query, ↵peavey
keep open and send a byte like MySQL module. Now with cleanup of bufferedsocket thanks to w00t <3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9686 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix segfault on rehash and tweak the connect code.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9677 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix some indenting.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9676 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Add defaults for SQLHost since comparing depends on them being initialised. ↵peavey
Add also overload for operator!= for SQLhost. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9675 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05fix some unitialised vectors and tidy up a bit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert even morepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9630 e03df62e-2008-0410-955e-edbf42e46eb7