summaryrefslogtreecommitdiff
path: root/src/modules/extra
AgeCommit message (Collapse)Author
2008-02-05dz, you cant delete a nonpointer!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8833 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02Patch: /rehash (not /rehash ssl) will now rebind SSL ports, but not dh ↵w00t
params etc. Closes #391. Thanks dz. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8786 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-31applink.c should be included in the link command, not #included in the sourcefez
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8773 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27Change API OnOperCompare to OnPassCompare, password hashing is now available ↵aquanight
for <connect:allow>, <power die= restart=>, <title> (m_customtitle.so), <vhost> (m_vhost.so), this works the same was as for <oper>: load m_password_hash.so (after all hasher modules, of course), and add hash="md5/sha256/whatever" to the relevant tag. Also fix m_callerid.cpp crashing on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8755 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-21Win32 compilation fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8743 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-20Update m_filter* to 1.2 API (it was still using Implements()), also ↵aquanight
implement <exemptfromfilter channel="#blah"> to exclude channels from filtering. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8742 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Fix.. snomask O is already taken (ffs) so use A insteadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Remove InspIRCd::WriteOpers in favour of snomask Ow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-02Update this to use the new oper callw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8618 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-29The mysql worker thread only sleeps 50 nanosecs between cycles, this is not ↵brain
enough to prevent it chomping on the CPU on most machines. Increase to 1000, fixes bugs noticed on forum by JulianD, thanks :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8605 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Remove Implements() method from every module. booya.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Honking huge commit. Removal of DELETE() template that never worked right anywaybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8527 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Convert all to new Attach() system. The Implements() method needs removing ↵brain
from all modules as it is dead weight. WARNING: there are segfaults here! HERE BE DRAGONS, i am not finished! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8510 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25Disable pedantic for this. Third party headers do silly stuff. long long?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8369 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25Make install list list automatically generated from build targets and ↵brain
provide facility for installing extra files. Using this, cert.pem and key.pem are only copied to the conf dir if you enabled an ssl module. Also, this provides facility for a 'make deinstall' which should be safe for use in all situations as it always specifies a file by name and never uses wildcards to rm. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8362 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24Remove variadic macros from sqlv2 api, removing the warnings that come with ↵brain
it and increasing compatibility git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8353 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24Last of the -pedantic fixes. Seems we were all good with -pedantic from the ↵brain
start :) Just seemed that -Wall -Wextra enables moron warnings. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8352 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24Pedantic cleanbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8349 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24/usr/local/include/openssl/pqueue.h:73: error: ISO C++ does not support ↵brain
`long long' /usr/local/include/openssl/pqueue.h:80: error: ISO C++ does not support `long long' /usr/local/include/openssl/pqueue.h:89: error: ISO C++ does not support `long long' ^^ openssl broken too, set $NoPedantic git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8347 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23Add $NoPedantic build macro, for m_mysql because mysql AB dont know how to ↵brain
code :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8325 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23All of insp now builds with -pedantic (theres some warnings to squash in ↵brain
modules, and in spanningtree, but its all 'unused parameter'). I suggest we actually go through and satisfy these unused parameter errors for two reasons: (1) it acts as a strong compiler hint leading to better optimization (2) it will give us a good clue of what parameters are NEVER used and should therefore be removed from use (like i just did with AddMode) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8323 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23Pedantic safebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8314 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Remove debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8267 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Fixed ssl clients on trunk. The problem peavey was having was that before ↵brain
ReadBuffer was char[] now its char*. sizeof() on char[] returns its size in chars, and sizeof on char* returns 4. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8263 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ↵w00t
ident etc will use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspTimer -> Timerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15In the grand tradition of huge fucking commits:w00t
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15class command_t -> class Command. Whey :Dw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Add sanity checks to the ssl modules so that theres no possibility of an out ↵brain
of range fd being passed to the events. The cull_list commit is a tidy-up only. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8155 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-03PROPAGATE this fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8118 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-29Removed extremely verbose debugging from the SSL modules, as I believe that ↵special
bug has been fixed (and we don't want this in for release anyway) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8092 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-20Thanks dz, forgot uppercase equivalent of AEIOU in the strchrbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8048 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-20As per request from Bricker, change the format of the 'you are now an oper ↵brain
of type <...>' to 'You are now a/an <...>' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8047 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29I lose for being slow. also tidyup a bit, still needs to fix that sizeof..peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8001 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29Some modules forgotten for conversion to ModuleManagerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7991 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29Fix to compile with new module apipeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7990 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Move everything module-related out of InspIRCd and into ModuleManager, there ↵om
is a ModuleManager instantiated as InspIRCd::Modules. Several of the function names have changed slightly as well. e.g. Instance->FindModule(m_foobar.so); is now Instance->Modules->Find(m_foobar.so); All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Craquity craq De-craq!brain
This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight. --- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick). All this to eliminate a bunch of ifdefs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Allow support for multiple dns results per request. This is a significant ↵brain
change and should probably not be backported to stable. This will allow for a fix to feature request bug #384 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7753 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11Fix a typo so it compiles.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7702 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-10Fix possible sqllog crash (working blind here!) where it could attempt to ↵brain
delete a pointer without knowing if that pointer was valid. (NEVER EVER use operator[] to lookup a map value, always use ::find()) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7700 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-06Part of our fix didnt make it to here!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7682 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Try thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7663 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Fix to trigger the write notification on successful writes, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7662 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Revert my fix and apply the flushevent, and a bit of debugging output.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7661 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Fixes from experiences on chatspike. Use the proper OnBufferFlushed event to ↵brain
decide when to write data, don't just recursively call OnRawSocketWrite when it fails (duhhhhhhh) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7659 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05Fix random debian (well, duplicated on debian) breakage with client sockets ↵brain
'hanging' on connect git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7654 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-04Remove debug again.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7649 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-04Fix openssl.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7648 e03df62e-2008-0410-955e-edbf42e46eb7