summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-26Fix for bug #187brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6441 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-24The /id command for nicks in atheme should have the parameters $2- not $2, ↵brain
because they accept /id nick pass git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6437 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24Add m_banredirect to example configom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6436 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24No statserv, but we have gameservw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6435 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24Example aliases files.brain
Someone like w00t who has more knowledge of atheme should update atheme.conf.example, as theyre currently just a copy of the ones for ircservices right now. Theres a cookie in it for the first person to make the atheme ones correct :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6434 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-24Fucking grr.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23Revert some stuff back to the old waybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6431 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23Note: ne is not eq.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6430 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23Make our makefile bsd compatible again :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6429 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23Integrate OSX patches from BuildSmart, plus a few tweaks and fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6428 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23Back-out OSX patches till theyre completed, our stable tree is tied up with ↵brain
temporarily broken code :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6427 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23First part of OSX patches for 1.1 from BuildSmartbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6426 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-22Trivial fix, extra >s noted by owinew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6425 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-21Fix library detection flags (bad define put into the ldflags)brain
Change default flags from "-g" to "-O2 -g1". This takes us down from a build size of 350mb+ to 35mb, and still gives us the ability to backtrace! :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6419 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21Note that we dont allow upgrades to version 3 of GPL, just to re-iterate.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6418 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-20Fix the commandline stuff up to actually work!brain
Also, fix 'locate' detection of files when pkg-config cant find them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6415 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20If we're not in interactive mode, then we dont prompt interactively for the ↵brain
value. We look for the configuration item in the commandline, --$package-includes="" or --$package-libs="" and use that. If its not defined, we die() with a message to specify the path using that commandline item. This also applies to ./configure -modupdate. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6414 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Additional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use ↵brain
the pkgconfig detection macros (the modules can use this if they like) Extra tweak/fix: Allow for configure cache values containing the = symbol git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6413 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20And fix it so it worksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6412 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Better detectionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6411 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Add caching of all detected values :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6410 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Proritise cached value above a searchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6409 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20Fixes to make ./configure prompt for libs if all else fails (discussed ↵brain
earlier with w00t). The values prompted for are cached, so if you specify them then ./configure -update wont prompt again for them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6408 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