summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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
* 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-271-1/+1
| | | | | | 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
* 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
* 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-201-49/+63
| | | | | | 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
* 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
* Fix dependenciesGravatar brain2007-01-199-0/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6398 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
* Move some stuff into utils.hGravatar brain2007-01-181-117/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6381 e03df62e-2008-0410-955e-edbf42e46eb7
* Start of moving m_spanningtree into a dir so we can split it, cutting down ↵Gravatar brain2007-01-181-1/+1
| | | | | | ram use during compile, and compile time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6372 e03df62e-2008-0410-955e-edbf42e46eb7
* Move QueryQueue class into m_sqlv2 to prevent flat-out duplication of ↵Gravatar brain2007-01-173-246/+136
| | | | | | identical code in pgsql and mysql modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6368 e03df62e-2008-0410-955e-edbf42e46eb7
* Mass comment removal.Gravatar brain2007-01-1723-366/+44
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove/fix unused variable warningGravatar brain2007-01-172-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6366 e03df62e-2008-0410-955e-edbf42e46eb7
* It says something about how excessive our debug output is when the ssl ↵Gravatar brain2007-01-172-124/+7
| | | | | | 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
* Remove tons of debug output from spanningtree as the first step in ↵Gravatar brain2007-01-171-74/+8
| | | | | | optimizing it for release git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6359 e03df62e-2008-0410-955e-edbf42e46eb7
* Crusade to remove debug from stable and tested parts of the core and base ↵Gravatar brain2007-01-154-29/+1
| | | | | | | | | | modules. Most of the code here being de-noised hasnt had a crash or bug in it for many months, if not a year so the debug output is useless noise in the logfile when trying to trace a bug in a REAL problem area. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6356 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some debug (im on a crusade to make debug mode useful, but at the ↵Gravatar brain2007-01-151-13/+0
| | | | | | same time tolerable for longer term usage on larger nets) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6355 e03df62e-2008-0410-955e-edbf42e46eb7
* delete -> DELETE()Gravatar om2007-01-151-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6352 e03df62e-2008-0410-955e-edbf42e46eb7
* Activate final stage of world-domination plan...d...o...n...Gravatar om2007-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6351 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some differences between how this expands partial banmasks with how the ↵Gravatar om2007-01-151-0/+7
| | | | | | core does it. (Obviously my way was right and the core was silly ;[) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6350 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert all redirecting bans to non-redirecting ones when the module unloads.Gravatar om2007-01-151-3/+41
| | | | | | | Stop the module allowing bans which will immediately be blocked by the core for exceeding the ban limit. Fix something else, I think, I forget what it was... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6348 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix possible segfault if sql query failed. Using a free'd char is probably ↵Gravatar peavey2007-01-151-6/+4
| | | | | | not a good thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6347 e03df62e-2008-0410-955e-edbf42e46eb7
* Prepend nick to user->MakeHostIP().Gravatar om2007-01-151-2/+7
| | | | | | Maybe we should have a GetFullIPHost() or something to match GetFullHost() and GetFullRealHost? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6346 e03df62e-2008-0410-955e-edbf42e46eb7
* Hook qlite3_update_hook to queries to also catch affected rows on ↵Gravatar peavey2007-01-141-2/+18
| | | | | | UPDATE/INSERT/DELETE. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6344 e03df62e-2008-0410-955e-edbf42e46eb7
* Why are we doing append() craq here, when theres a nice cached ↵Gravatar brain2007-01-141-2/+1
| | | | | | userrec::GetHostIP() to use? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6342 e03df62e-2008-0410-955e-edbf42e46eb7
* Initial commit of the ban redirection module. Docs, additional testing and ↵Gravatar om2007-01-141-0/+290
| | | | | | probably a few tweaks to follow git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6340 e03df62e-2008-0410-955e-edbf42e46eb7