summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 1.1.0+Diamond! v1.1.0Gravatar brain2007-01-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6471 e03df62e-2008-0410-955e-edbf42e46eb7
* ipv6 connect tweaks, to memcpy() sin6_addr's rather than assigning with =.Gravatar brain2007-01-311-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6469 e03df62e-2008-0410-955e-edbf42e46eb7
* Why the fuck do no systems have INADDR6_ANY?!Gravatar brain2007-01-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6468 e03df62e-2008-0410-955e-edbf42e46eb7
* Tweaks to backwards memcpy's that dont actually do anything, causing ipv6 ↵Gravatar brain2007-01-302-4/+4
| | | | | | address bindings to potentially be bound to random ips. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6467 e03df62e-2008-0410-955e-edbf42e46eb7
* Good job we test, because often we find bugs ;pGravatar brain2007-01-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6466 e03df62e-2008-0410-955e-edbf42e46eb7
* Support both forms of ISON as clients seem to send one and the RFC mandates ↵Gravatar brain2007-01-301-0/+29
| | | | | | | | | | | | another: ISON nick1 nick2 nick3, or ISON :nick1 nick2 nick3. Interestingly this means we now even support: ISON nick1 nick2 :nick3 nick4 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6465 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix w00ts compile error :p (if you do an if without braces, vars declared ↵Gravatar brain2007-01-301-1/+2
| | | | | | within that if are in fact local :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6464 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, fix inspsocket so that its ok to use errno after a failure of the ↵Gravatar brain2007-01-301-0/+6
| | | | | | | | | 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
* Add strerror(errno) to port bind failure on TreeSocketGravatar brain2007-01-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6461 e03df62e-2008-0410-955e-edbf42e46eb7
* If no topic specified, give index help, thanks RobbyGravatar w00t2007-01-301-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6460 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix the text in this numericGravatar brain2007-01-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6458 e03df62e-2008-0410-955e-edbf42e46eb7
* Opertype in /check is now properly spacifiedGravatar special2007-01-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6455 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this so that it works with outbound connects again.Gravatar brain2007-01-281-9/+18
| | | | | | | 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
* Remove debug, add a few commentsGravatar brain2007-01-282-41/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken openssl outbound connects.Gravatar brain2007-01-282-12/+81
| | | | | | | | 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
* Added errno to the epoll failure message for more detailGravatar special2007-01-281-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6448 e03df62e-2008-0410-955e-edbf42e46eb7
* Spellig mistak.Gravatar brain2007-01-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6447 e03df62e-2008-0410-955e-edbf42e46eb7
* OnExtendedMode was removed in 1.0, the function names here were incorrect.Gravatar brain2007-01-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6446 e03df62e-2008-0410-955e-edbf42e46eb7
* Potential desync on "nick collision at same time as fjoin" fixGravatar brain2007-01-271-7/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6445 e03df62e-2008-0410-955e-edbf42e46eb7
* fix so that OnWhois is triggered for remote whois, and remove smelly bold ↵Gravatar brain2007-01-272-5/+4
| | | | | | chars from m_botmode's numeric output. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6444 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly allow all supporting versions of PostgreSQL to use secure string ↵Gravatar peavey2007-01-271-1/+1
| | | | | | escaping. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6443 e03df62e-2008-0410-955e-edbf42e46eb7
* The mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4Gravatar peavey2007-01-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6442 e03df62e-2008-0410-955e-edbf42e46eb7
* For the filter GLINE action, ban *@IP, so that they cant change their ident ↵Gravatar brain2007-01-251-1/+5
| | | | | | and it'll still get unresolved hosts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6440 e03df62e-2008-0410-955e-edbf42e46eb7
* Cut out some code duplication by using the existing exception framework in ↵Gravatar brain2007-01-251-37/+11
| | | | | | | | | 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
* Fix endless loop on dns hit.Gravatar peavey2007-01-241-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6433 e03df62e-2008-0410-955e-edbf42e46eb7
* Add check for openssl >= 0.9.7, and fix for if the library cant be found at allGravatar brain2007-01-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops put this back to 3.3Gravatar brain2007-01-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6423 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken function vcheck() that checks one dot-delimited version string ↵Gravatar brain2007-01-211-1/+1
| | | | | | against another git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra macro pkgconfversion("packagename", "version");Gravatar brain2007-01-211-1/+1
| | | | | | | | | 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
* Keep gcc from whining when there is NOT an error (see the comments added)Gravatar brain2007-01-211-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6420 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bad duplication of filters containing spaces across the network.Gravatar brain2007-01-201-1/+13
| | | | | | | | (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
* Fixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. ↵Gravatar special2007-01-202-49/+68
| | | | | | actually works. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6416 e03df62e-2008-0410-955e-edbf42e46eb7
* FixingGravatar brain2007-01-202-4/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6407 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply fixes for buffering of headers, and a test module both by psychonGravatar brain2007-01-202-17/+117
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6406 e03df62e-2008-0410-955e-edbf42e46eb7
* 1.1.0+SVN!Gravatar brain2007-01-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6405 e03df62e-2008-0410-955e-edbf42e46eb7
* Beta9+Finale! v1.1.0b9Gravatar brain2007-01-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6403 e03df62e-2008-0410-955e-edbf42e46eb7
* Møøses > YøusesGravatar om2007-01-201-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6402 e03df62e-2008-0410-955e-edbf42e46eb7
* Better way even than suggested.Gravatar brain2007-01-201-0/+7
| | | | | | | | 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
* Now wont even try to read an empty fileGravatar brain2007-01-201-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6400 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix dependenciesGravatar brain2007-01-199-0/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6398 e03df62e-2008-0410-955e-edbf42e46eb7
* As suggested (and coded) by w00t, show * as the nick when we havent set one yetGravatar brain2007-01-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6397 e03df62e-2008-0410-955e-edbf42e46eb7
* Split out rconnect command into its own file (this ones already a command ↵Gravatar brain2007-01-193-41/+68
| | | | | | handler) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6396 e03df62e-2008-0410-955e-edbf42e46eb7
* Split this up even more, much smaller files that are easier for gcc to digestGravatar brain2007-01-197-1510/+1589
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6395 e03df62e-2008-0410-955e-edbf42e46eb7
* A readme file, mainly for devs.Gravatar brain2007-01-181-0/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6392 e03df62e-2008-0410-955e-edbf42e46eb7
* Move this over to left margin now, is no longer part of a huge inlined classGravatar brain2007-01-181-232/+232
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6387 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove space indentsGravatar brain2007-01-1812-3478/+3477
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6386 e03df62e-2008-0410-955e-edbf42e46eb7
* Add all this crapolaGravatar brain2007-01-1811-2909/+4284
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6385 e03df62e-2008-0410-955e-edbf42e46eb7
* Much more tidyup, and yes, tons more to goGravatar brain2007-01-181-3939/+3251
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6384 e03df62e-2008-0410-955e-edbf42e46eb7
* Start of splitting up. WARNING: This is far from tidy or finished in terms ↵Gravatar brain2007-01-181-381/+1
| | | | | | | | | 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
* Whoops, and commit this :pGravatar brain2007-01-181-0/+130
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6382 e03df62e-2008-0410-955e-edbf42e46eb7