summaryrefslogtreecommitdiff
path: root/src/modules/extra
AgeCommit message (Collapse)Author
2006-08-08Add checking on AddFd that was missing (it assumed, like everything else)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4781 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Untested but compiling updates for Resolver DNS APIom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4766 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR ↵brain
oper, ident field is not supported (yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Change to using userrec::ip as a sockaddr to store port, ip and address ↵brain
family, rather than userrec::ip4 and userrec::port. This allows us to handle remote ipv6 users on an ipv4 server, and vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if ↵brain
this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first ↵brain
step on the road to ipv6 support git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Tidyup and bugfix, not copying the correct column namesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4532 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Change to use GetId() and ID rather than GetData() and dataom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Fixed to dynamically allocate the fieldlistbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4530 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Move mysql_rpath into extrabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23*boot* youuuuu're outta here - old blocking SQL API replaced with sexy new ↵om
async one <3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4526 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Free, as they should be, fieldlist and/or fieldmap in destructor of ↵om
PgSQLresult *if* they were allocated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4525 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23More stuff to return empty lists and maps when there are no more rows in the ↵brain
dataset git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4524 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Adjust m_mysql to match the assumed behaviour of m_pgsql exactly, e.g. when ↵brain
there are now rows left return an empty row Fix mistake which required a reference to be freed (?!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4523 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Tidyups, optimisations and make the log messages make sense...om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4522 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23simple logic error (check they already are +o before you set it), seems to ↵om
fix +o issue git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4521 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Mostly updated to new API; Currently doesn't check config o:lines (should be ↵om
tried before SQL ones); Doesn't seem to set UMODE +o properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4520 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Give SQLfield's constructor parameters default values (effectively giving it ↵om
a default constructor), lets SQLfieldMap actually be useable.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4519 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Remove unused variable and assignmentom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4518 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Make m_pgsql return the number of affected rows for an UPDATE or INSERT query.om
Make m_testclient do an INSERT and test this :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4517 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Alter for Rows() == X, Cols() == 0 for 'X rows affected' queriesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Change to doxygen-friendly comments, and actually document the lotbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4514 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Change comment to actually be rightishom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4513 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Reorder a couple of constructor prototypes for consistencyom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4512 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Add m_sqlutils - Currently provides ID->chan/user lookupsom
Update m_sqlauth to use m_sqlutils git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4511 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22I hate the fucking mysql devs. Craq smoking bastards.brain
Upon Insert, number of rows is the number of rows effected but the number of columns is 0????? Add check to MySQLreply::Rows() to ensure the user doesnt see N rows and 0 columns! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4510 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Allocate id properlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Actually hook up the OnUnloadModule event >_<om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4508 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22This compiles, dont expect it to work yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4507 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Logic error, success is when the error ID *is* NO_ERROR :Pom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4505 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Stop publishing MySQL feature - check for successful publishing of SQL featurebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4504 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Stop publishing the PgSQL feature ( :-'( )om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4503 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Explicitly return false after killing user in OnCheckReady() (theoretically ↵om
no change, but just makes sure..) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4500 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22* Change to use QREPLY_FAILbrain
* Adjust error message so that it appears in the format: "<errno>: <err message>" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4499 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Handle queries failing properly, actually workom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4498 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Set the SQLresult's error field properly when the query failsom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4497 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Add new QREPLY_FAIL error code (bad query syntax etc)om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4496 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Add extra parameter to MySQLresult and SQLresultbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4495 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Fix test client error cheecking on result typesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4494 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Update to SQLv2 APIom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4493 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Set the ID in the request *before* we copy it by value why not..om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4492 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22*hide*, I forgot to include the ID in the SQLresult *rehide*om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4491 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Add back the auto reconnectbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4490 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Test commit to sync after network outagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4489 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Huge ass comment about how this worksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4488 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Works with the m_testclient test program/suite!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4487 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Error checking and debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4486 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Works now (again, to a point)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4485 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Try and find out why stuff isnt workingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4484 e03df62e-2008-0410-955e-edbf42e46eb7