summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-01-30Whoops, fix inspsocket so that its ok to use errno after a failure of the ↵brain
Write/Read methods or constructor! the close() in its Close method always changed errno to "Endpoint is not connected" on error, so now we make a copy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6462 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30Add strerror(errno) to port bind failure on TreeSocketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6461 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30If no topic specified, give index help, thanks Robbyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6460 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30Fix the text in this numericbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6458 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-29Opertype in /check is now properly spacifiedspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6455 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Fix this so that it works with outbound connects again.brain
Also fix it to cope with EAGAIN properly in handshake negotiation without returning 1 from Write() (when nothing was actually written at the upper layer of the transport!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6451 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Remove debug, add a few commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Fix broken openssl outbound connects.brain
A record needs to be kept of if this session was initially outbound or inbound, so we know if we need to re-call SSL_connect or SSL_accept on handshake failure, we also need to have two SSL_CTX's, one initialized as a client context and one as a server context (this is EW, but i guess its just how openssl does stuff) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6449 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Added errno to the epoll failure message for more detailspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6448 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27Spellig mistak.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6447 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27OnExtendedMode was removed in 1.0, the function names here were incorrect.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6446 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27Potential desync on "nick collision at same time as fjoin" fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6445 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27fix so that OnWhois is triggered for remote whois, and remove smelly bold ↵brain
chars from m_botmode's numeric output. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6444 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27Correctly allow all supporting versions of PostgreSQL to use secure string ↵peavey
escaping. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27The mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-25For the filter GLINE action, ban *@IP, so that they cant change their ident ↵brain
and it'll still get unresolved hosts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6440 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-25Cut out some code duplication by using the existing exception framework in ↵brain
here, and throw an exception if the user tries to change the servername at runtime (this is currently the only value we dont allow changing at runtime, maybe there are more to be found which are obviously unsafe to change) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6439 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24Fix endless loop on dns hit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6433 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Add check for openssl >= 0.9.7, and fix for if the library cant be found at allbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Whoops put this back to 3.3brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6423 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Fix broken function vcheck() that checks one dot-delimited version string ↵brain
against another git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Add extra macro pkgconfversion("packagename", "version");brain
dies if the version you specify isnt installed. Also added to m_sqlite3: pkgconfversion("sqlite3", "3.3") Note: this will die at configuration time, not compilation time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6421 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Keep gcc from whining when there is NOT an error (see the comments added)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6420 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Fix bad duplication of filters containing spaces across the network.brain
(filters containing spaces arent strictly allowed because they cant be defined via the /filter command, however we do define them in the config on chatspike so its worth supporting them. This will now translate space to \7 in the metadata, and translate it back at the receiving end. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6417 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Fixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. ↵special
actually works. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6416 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Fixingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6407 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Apply fixes for buffering of headers, and a test module both by psychonbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6406 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-201.1.0+SVN!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6405 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Beta9+Finale!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6403 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Møøses > Yøusesom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6402 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Better way even than suggested.brain
We need one counter, nonlistmodes_found, and start with it at 0. In the while loop, if we find any modes that arent of list mode type we inc the counter, and if the counter is zero after the end of the loop, we can just return (we processed everything already and nothing is left) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6401 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Now wont even try to read an empty filebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6400 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-19Fix dependenciesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6398 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-19As suggested (and coded) by w00t, show * as the nick when we havent set one yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6397 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-19Split out rconnect command into its own file (this ones already a command ↵brain
handler) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6396 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-19Split this up even more, much smaller files that are easier for gcc to digestbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6395 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18A readme file, mainly for devs.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6392 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18Move this over to left margin now, is no longer part of a huge inlined classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6387 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18Remove space indentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6386 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18Add all this crapolabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6385 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18Much more tidyup, and yes, tons more to gobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6384 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18Start of splitting up. WARNING: This is far from tidy or finished in terms ↵brain
of code uglyness. A lot of it is copy/pasted in nano and therefore space indented (will be fixed before b9) and theres much more to be done yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6383 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18Whoops, and commit this :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6382 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18Move some stuff into utils.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6381 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18Start of moving m_spanningtree into a dir so we can split it, cutting down ↵brain
ram use during compile, and compile time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6372 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Move QueryQueue class into m_sqlv2 to prevent flat-out duplication of ↵brain
identical code in pgsql and mysql modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6368 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Mass comment removal.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Remove/fix unused variable warningbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6366 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17It says something about how excessive our debug output is when the ssl ↵brain
modules have 'cascades' of 'if-then-else' whos job is ONLY to output debug! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6365 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Remove some debug here, cuts down boot outputbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6364 e03df62e-2008-0410-955e-edbf42e46eb7