]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoirc::string assign(std::string&)
brain [Mon, 11 Dec 2006 23:56:22 +0000 (23:56 +0000)]
irc::string assign(std::string&)
std::string assign(irc::string&)
soooo:
irc::string foo = assign(my_std_string);
:p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5956 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoJust comments
brain [Mon, 11 Dec 2006 23:42:20 +0000 (23:42 +0000)]
Just comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5955 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up a loop a bit so it isnt for(;;) with a break
brain [Mon, 11 Dec 2006 23:31:25 +0000 (23:31 +0000)]
Tidy up a loop a bit so it isnt for(;;) with a break

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5954 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd fix the typos in it.
brain [Mon, 11 Dec 2006 23:15:49 +0000 (23:15 +0000)]
And fix the typos in it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5953 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAttempt another speedup
brain [Mon, 11 Dec 2006 23:15:18 +0000 (23:15 +0000)]
Attempt another speedup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5952 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix kinda stupid whoopsie
brain [Mon, 11 Dec 2006 23:09:55 +0000 (23:09 +0000)]
Fix kinda stupid whoopsie

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5951 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFaster, stronger, ...err no, not the million dollar man.
brain [Mon, 11 Dec 2006 23:04:33 +0000 (23:04 +0000)]
Faster, stronger, ...err no, not the million dollar man.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5950 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange how assembling of multiple lines works, avoid data copies
brain [Mon, 11 Dec 2006 23:02:51 +0000 (23:02 +0000)]
Change how assembling of multiple lines works, avoid data copies

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5949 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixed a typo in select
special [Mon, 11 Dec 2006 22:47:25 +0000 (22:47 +0000)]
Fixed a typo in select

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5948 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix EOF conditions on inspsockets which are having their write() handled by modules
brain [Mon, 11 Dec 2006 22:20:03 +0000 (22:20 +0000)]
Fix EOF conditions on inspsockets which are having their write() handled by modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5947 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBetter handling of write() failure, but this might still not be exactly right.
brain [Mon, 11 Dec 2006 22:18:21 +0000 (22:18 +0000)]
Better handling of write() failure, but this might still not be exactly right.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5946 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis is better now.
brain [Mon, 11 Dec 2006 22:11:06 +0000 (22:11 +0000)]
This is better now.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5945 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoInitial commit of m_dnsbl, v2.0 - based on satmd's 1.0 m_dnsbl, modified to work...
w00t [Mon, 11 Dec 2006 21:42:27 +0000 (21:42 +0000)]
Initial commit of m_dnsbl, v2.0 - based on satmd's 1.0 m_dnsbl, modified to work with 1.1 (and hopefully work a bit faster. Removed tag option, as it doesn't broadcast to multiple servers, leaks memory, and is largely useless.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5944 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSomeone forgot to add the copyright headers here :p
brain [Mon, 11 Dec 2006 21:40:25 +0000 (21:40 +0000)]
Someone forgot to add the copyright headers here :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5943 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd give it error checking... whoops.
brain [Mon, 11 Dec 2006 21:35:34 +0000 (21:35 +0000)]
And give it error checking... whoops.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5942 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPinch simple output buffering from m_ssl_openssl
brain [Mon, 11 Dec 2006 21:33:11 +0000 (21:33 +0000)]
Pinch simple output buffering from m_ssl_openssl

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5941 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidyup comments and debug
brain [Mon, 11 Dec 2006 21:24:15 +0000 (21:24 +0000)]
Tidyup comments and debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5940 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFinally got read buffering working properly
brain [Mon, 11 Dec 2006 20:55:59 +0000 (20:55 +0000)]
Finally got read buffering working properly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5939 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago*annoyance*
brain [Mon, 11 Dec 2006 20:18:26 +0000 (20:18 +0000)]
*annoyance*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5938 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDamnit damnit damnit!
brain [Mon, 11 Dec 2006 20:16:24 +0000 (20:16 +0000)]
Damnit damnit damnit!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5937 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis should do it.
brain [Mon, 11 Dec 2006 20:05:50 +0000 (20:05 +0000)]
This should do it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5936 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRethink
brain [Mon, 11 Dec 2006 20:00:58 +0000 (20:00 +0000)]
Rethink

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5935 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGrr.
brain [Mon, 11 Dec 2006 19:50:41 +0000 (19:50 +0000)]
Grr.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5934 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore tweaks
brain [Mon, 11 Dec 2006 19:44:57 +0000 (19:44 +0000)]
More tweaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5933 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIncrease CHUNK
brain [Mon, 11 Dec 2006 19:42:47 +0000 (19:42 +0000)]
Increase CHUNK

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5932 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agomore stuff :p
brain [Mon, 11 Dec 2006 19:35:04 +0000 (19:35 +0000)]
more stuff :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5931 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTest
brain [Mon, 11 Dec 2006 19:29:40 +0000 (19:29 +0000)]
Test

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5930 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore crap
brain [Mon, 11 Dec 2006 19:24:20 +0000 (19:24 +0000)]
More crap

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5929 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTons of debug, dont use
brain [Mon, 11 Dec 2006 19:14:16 +0000 (19:14 +0000)]
Tons of debug, dont use

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5928 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDebug stuff, and some minor fixes
brain [Mon, 11 Dec 2006 19:06:27 +0000 (19:06 +0000)]
Debug stuff, and some minor fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5927 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUntested, new clever pointer voodoo class for binary-safe ziplinks output buffers
brain [Mon, 11 Dec 2006 18:23:15 +0000 (18:23 +0000)]
Untested, new clever pointer voodoo class for binary-safe ziplinks output buffers
PLUS: Fix for random epoll dispatchevents crashes.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5926 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix case insensitive compare (operator ==) between irc::string and std::string and...
peavey [Mon, 11 Dec 2006 01:12:14 +0000 (01:12 +0000)]
Fix case insensitive compare (operator ==) between irc::string and std::string and vice versa

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5925 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also InspIRCd::GetInt...
brain [Sun, 10 Dec 2006 22:17:51 +0000 (22:17 +0000)]
Add InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also InspIRCd::GetInterfaceUseCount().
These can be used for one module to lock other modules in memory that it depends on, this way they can
enforce an unload order so that you cant (for example) unload m_ssl_gnutls.so whilst m_spanningtree.so
is using it for ssl server to server sessions (in this case, youd have to unload spanningtree first,
THEN ssl_gnutls, to satisfy the dependencies and unload orders)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5924 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange this to prepend its lines to stats z which already shows misc stats
brain [Sun, 10 Dec 2006 20:29:14 +0000 (20:29 +0000)]
Change this to prepend its lines to stats z which already shows misc stats

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5923 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd very funky stats C (compression statistics) for people using m_ziplinks
brain [Sun, 10 Dec 2006 20:24:48 +0000 (20:24 +0000)]
Add very funky stats C (compression statistics) for people using m_ziplinks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5922 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRecord compression ratio stats for a /stats char (this isnt finished yet)
brain [Sun, 10 Dec 2006 20:11:46 +0000 (20:11 +0000)]
Record compression ratio stats for a /stats char (this isnt finished yet)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5921 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCorrectly handle write events
brain [Sun, 10 Dec 2006 19:49:49 +0000 (19:49 +0000)]
Correctly handle write events

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5920 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix bug found on barafranca, where quitting the user causes a cascade of error state...
brain [Sun, 10 Dec 2006 19:39:26 +0000 (19:39 +0000)]
Fix bug found on barafranca, where quitting the user causes a cascade of error state notifications without actually quitting the user until much later, wasting cpu time

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5919 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoHost cloaks for resolved hosts are wayyyy too long, cut the hash down to the first...
brain [Sun, 10 Dec 2006 18:15:34 +0000 (18:15 +0000)]
Host cloaks for resolved hosts are wayyyy too long, cut the hash down to the first 8 chars

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5918 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComment tidyups
brain [Sun, 10 Dec 2006 17:35:00 +0000 (17:35 +0000)]
Comment tidyups

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5917 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix m_conn_waitpong not to use base64 uneccessarily.
brain [Sun, 10 Dec 2006 15:58:02 +0000 (15:58 +0000)]
Fix m_conn_waitpong not to use base64 uneccessarily.
Fix a typo introduced into openssl by a search and replace

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5916 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemoval of AES, this is no longer required. (This also eliminates code that isnt...
brain [Sun, 10 Dec 2006 15:51:31 +0000 (15:51 +0000)]
Removal of AES, this is no longer required. (This also eliminates code that isnt ours, and was some public domain crap)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5915 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate comment's ascii diagram to be more like those in an RFC
brain [Sun, 10 Dec 2006 15:23:44 +0000 (15:23 +0000)]
Update comment's ascii diagram to be more like those in an RFC

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5914 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd m_ziplink.so to example conf
brain [Sun, 10 Dec 2006 14:41:09 +0000 (14:41 +0000)]
Add m_ziplink.so to example conf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5913 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRename ssl.h -> transport.h, as its now used for ziplinks
brain [Sun, 10 Dec 2006 14:31:47 +0000 (14:31 +0000)]
Rename ssl.h -> transport.h, as its now used for ziplinks
Document the data format used by our ziplinks (its not just deflated data, there has to be a length header on the start)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5912 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd buffering of last frame, if we dont read the whole frame
brain [Sun, 10 Dec 2006 14:18:07 +0000 (14:18 +0000)]
Add buffering of last frame, if we dont read the whole frame

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5911 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore stuff
brain [Sun, 10 Dec 2006 13:49:00 +0000 (13:49 +0000)]
More stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5910 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTweaks
brain [Sun, 10 Dec 2006 13:32:52 +0000 (13:32 +0000)]
Tweaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5909 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange name
brain [Sun, 10 Dec 2006 12:33:17 +0000 (12:33 +0000)]
Change name

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5908 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis compiles, but isnt tested yet. DO NOT USE.
brain [Sun, 10 Dec 2006 12:32:52 +0000 (12:32 +0000)]
This compiles,  but isnt tested yet. DO NOT USE.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5907 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd prefix to /PRIVMSG, similar to bug #178 for /NOTICE
peavey [Sun, 10 Dec 2006 02:13:59 +0000 (02:13 +0000)]
Add prefix to /PRIVMSG, similar to bug #178 for /NOTICE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5906 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for bug #178
peavey [Sun, 10 Dec 2006 01:56:50 +0000 (01:56 +0000)]
Fix for bug #178

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5905 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for end of handshake detection, HANDSHAKEN is a silly name for a const :/
brain [Sun, 10 Dec 2006 01:52:34 +0000 (01:52 +0000)]
Fix for end of handshake detection, HANDSHAKEN is a silly name for a const :/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5904 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoadd a comment to the example config reminding users that gnutls and openssl are inter...
brain [Sat, 9 Dec 2006 23:11:41 +0000 (23:11 +0000)]
add a comment to the example config reminding users that gnutls and openssl are interchangable and compatible, and you  dont have to use the same one at both ends of the link for it to work.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5903 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDon't allow the user to define a non-existent transport in the <link> tag
brain [Sat, 9 Dec 2006 23:04:56 +0000 (23:04 +0000)]
Don't allow the user to define a non-existent transport in the <link> tag

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5902 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate docs to reflect new stuff (OOO SHINEY SPANGLEY SPARKLEY NEW STUFF)
brain [Sat, 9 Dec 2006 22:52:28 +0000 (22:52 +0000)]
Update docs to reflect new stuff (OOO SHINEY SPANGLEY SPARKLEY NEW STUFF)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5901 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCorrectly report the transport names when server links occur
brain [Sat, 9 Dec 2006 22:39:00 +0000 (22:39 +0000)]
Correctly report the transport names when server links occur

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5900 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove AES
brain [Sat, 9 Dec 2006 22:25:32 +0000 (22:25 +0000)]
Remove AES

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5899 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake it all work properly. Have it wait for handshake to complete before sending...
brain [Sat, 9 Dec 2006 22:06:15 +0000 (22:06 +0000)]
Make it all work properly. Have it wait for handshake to complete before sending anything down the line

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5898 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIt works! WOO AND YAY! (this isnt finished yet, only an idiot would use this on a...
brain [Sat, 9 Dec 2006 21:15:56 +0000 (21:15 +0000)]
It works! WOO AND YAY! (this isnt finished yet, only an idiot would use this on a production net atm)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5897 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops, some stuff was sdrawkcab!
brain [Sat, 9 Dec 2006 20:12:04 +0000 (20:12 +0000)]
Whoops, some stuff was sdrawkcab!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5896 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove around the initialization stuff so it gets called in the right order
brain [Sat, 9 Dec 2006 20:07:31 +0000 (20:07 +0000)]
Move around the initialization stuff so it gets called in the right order

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5895 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd stuff for <bind:transport> and <link:transport> that should be the transport...
brain [Sat, 9 Dec 2006 20:03:52 +0000 (20:03 +0000)]
Add stuff for <bind:transport> and <link:transport> that should be the transport name, e.g. 'openssl' or 'gnutls'. I didn't name it <bind:ssl> because it might be used for other stuff than just ssl eventually.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5894 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoEnumerate InspSocketHook modules
brain [Sat, 9 Dec 2006 19:41:03 +0000 (19:41 +0000)]
Enumerate InspSocketHook modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5893 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd stuff so that TreeSockets can call any found hook modules
brain [Sat, 9 Dec 2006 19:32:47 +0000 (19:32 +0000)]
Add stuff so that TreeSockets can call any found hook modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5892 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove this
brain [Sat, 9 Dec 2006 19:26:27 +0000 (19:26 +0000)]
Move this

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5891 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd the stuff required for the InspSocketHook interface
brain [Sat, 9 Dec 2006 19:25:10 +0000 (19:25 +0000)]
Add the stuff required for the InspSocketHook interface

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5890 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops
brain [Sat, 9 Dec 2006 18:59:03 +0000 (18:59 +0000)]
Whoops

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5889 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRename ssl_cert.h to ssl.h, it will contain the interface for hooking inspsockets
brain [Sat, 9 Dec 2006 18:52:35 +0000 (18:52 +0000)]
Rename ssl_cert.h to ssl.h, it will contain the interface for hooking inspsockets

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5888 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd OnRawSocketConnect, we've not had it till now because we've not needed it :)
brain [Sat, 9 Dec 2006 18:49:36 +0000 (18:49 +0000)]
Add OnRawSocketConnect, we've not had it till now because we've not needed it :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5887 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNot yet tested -- allow iohooking of inspsockets
brain [Sat, 9 Dec 2006 18:36:24 +0000 (18:36 +0000)]
Not yet tested -- allow iohooking of inspsockets

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5886 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago(1) make command reloads be announced to opers
brain [Thu, 7 Dec 2006 23:14:23 +0000 (23:14 +0000)]
(1) make command reloads be announced to opers
(2) change loadmodule and unloadmodule to say WHO did it, like with /reload

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5885 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops
brain [Thu, 7 Dec 2006 23:06:49 +0000 (23:06 +0000)]
Whoops

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5884 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBad w00tie bad, /who isnt checking +s for channel /who!
brain [Thu, 7 Dec 2006 23:00:43 +0000 (23:00 +0000)]
Bad w00tie bad, /who isnt checking +s for channel /who!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5883 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for peavy :p
brain [Tue, 5 Dec 2006 22:30:52 +0000 (22:30 +0000)]
Fix for peavy :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5882 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate example conf to new way of using oper password hashing
brain [Tue, 5 Dec 2006 22:30:04 +0000 (22:30 +0000)]
Update example conf to new way of using oper password hashing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5881 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore tidyups
brain [Tue, 5 Dec 2006 22:26:20 +0000 (22:26 +0000)]
More tidyups

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5880 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up cloaking algorithms a bit
brain [Tue, 5 Dec 2006 22:20:45 +0000 (22:20 +0000)]
Tidy up cloaking algorithms a bit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5879 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd VF_SERVICEPROVIDER flag to these
brain [Tue, 5 Dec 2006 21:54:08 +0000 (21:54 +0000)]
Add VF_SERVICEPROVIDER flag to these

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5878 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up with a typedef
brain [Tue, 5 Dec 2006 21:31:37 +0000 (21:31 +0000)]
Tidy up with a typedef

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5877 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThrow if we cant find any modules that implement our interface
brain [Tue, 5 Dec 2006 21:28:29 +0000 (21:28 +0000)]
Throw if we cant find any modules that implement our interface

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5876 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComments comments!
brain [Tue, 5 Dec 2006 21:24:45 +0000 (21:24 +0000)]
Comments comments!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5875 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument FindInterface, PublishInterface, UnpublishInterface, fix a bug where the...
brain [Tue, 5 Dec 2006 21:19:19 +0000 (21:19 +0000)]
Document FindInterface, PublishInterface, UnpublishInterface, fix a bug where the interface wasnt removed when it was decremented to 0 implementing modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5874 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake hash algo names case insensitive
brain [Tue, 5 Dec 2006 21:09:55 +0000 (21:09 +0000)]
Make hash algo names case insensitive

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5873 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore stuff
brain [Tue, 5 Dec 2006 21:07:36 +0000 (21:07 +0000)]
More stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5872 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix up brokage
brain [Tue, 5 Dec 2006 20:56:28 +0000 (20:56 +0000)]
Fix up brokage

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5871 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoEnumeration stuff beginneth!
brain [Tue, 5 Dec 2006 20:52:20 +0000 (20:52 +0000)]
Enumeration stuff beginneth!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5870 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd forgot a semicolon.
brain [Tue, 5 Dec 2006 20:49:19 +0000 (20:49 +0000)]
And forgot a semicolon.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5869 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAllow for querying the hash modules for the hashing algorithm name
brain [Tue, 5 Dec 2006 20:48:54 +0000 (20:48 +0000)]
Allow for querying the hash modules for the hashing algorithm name

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5868 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUntested, undocumented PublishInterface, UnpublishInterface, FindInterface.
brain [Tue, 5 Dec 2006 20:43:41 +0000 (20:43 +0000)]
Untested, undocumented PublishInterface, UnpublishInterface, FindInterface.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5867 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix all this.
brain [Tue, 5 Dec 2006 20:20:13 +0000 (20:20 +0000)]
Fix all this.
TODO: A system to group together modules which share an identical request/event API, so m_oper_hash can enumerate modules which implement HashRequest

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5866 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore tweakage
brain [Tue, 5 Dec 2006 20:05:31 +0000 (20:05 +0000)]
More tweakage

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5865 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago.
brain [Tue, 5 Dec 2006 19:54:53 +0000 (19:54 +0000)]
.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5864 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis has changed again, i suggest you dont bother trying to keep up till im done :p
brain [Tue, 5 Dec 2006 19:50:10 +0000 (19:50 +0000)]
This has changed again, i suggest you dont bother trying to keep up till im done :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5863 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange this a LOT.
brain [Tue, 5 Dec 2006 19:36:26 +0000 (19:36 +0000)]
Change this a LOT.
<oper blah.... hash="md5|sha256" pass="blah...">
It will now only check pass if you put the hash= in, people have been bugging for this for a while.
note the m_oper_hash module will try and detect both m_sha256 and m_md5 now, and will provide /mkpasswd that can do either.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5862 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate example conf
brain [Tue, 5 Dec 2006 19:08:38 +0000 (19:08 +0000)]
Update example conf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5861 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoHere it is, the whole lot merged into one.
brain [Tue, 5 Dec 2006 19:05:38 +0000 (19:05 +0000)]
Here it is, the whole lot merged into one.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5860 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd m_sha256 to here
brain [Tue, 5 Dec 2006 18:48:52 +0000 (18:48 +0000)]
Add m_sha256 to here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5859 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSeperate out sha256 into m_sha256.so. API is identical to MD5 except where the class...
brain [Tue, 5 Dec 2006 18:17:23 +0000 (18:17 +0000)]
Seperate out sha256 into m_sha256.so. API is identical to MD5 except where the class names are MD5 for MD5, these are SHA256... duh ;)
Now we're left with a dialemma - is m_opersha256.cpp now pointless? Does anyone use both sha256 and md5 together? Should we just rename this to m_oper_hash, and have them pick their encryption in the config? :P

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5858 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTweaks, fixes, and comments
brain [Mon, 4 Dec 2006 22:40:57 +0000 (22:40 +0000)]
Tweaks, fixes, and comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5857 e03df62e-2008-0410-955e-edbf42e46eb7