aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* commit remainder of new mode bouncing stuff for TS based modesGravatar brain2006-07-271-37/+115
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4550 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra method to mode handler, ModeHandler::ModeSet().Gravatar brain2006-07-266-0/+90
| | | | | | | | | | | Returns a std::pair<bool,string>. if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix reiterpret_cast stuff that doesnt work rightGravatar brain2006-07-261-4/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4548 e03df62e-2008-0410-955e-edbf42e46eb7
* Adapt m_spanningtree to use irc::tokenstream instead of its own ↵Gravatar brain2006-07-261-64/+5
| | | | | | irc-line-parser (that was teh sux) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4547 e03df62e-2008-0410-955e-edbf42e46eb7
* Migrate towards FMODE with TS, remove the SYNCTS command ideaGravatar brain2006-07-261-26/+120
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4546 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove numeric which makes some clients (Xchat, more?) think their nick is ↵Gravatar om2006-07-251-3/+1
| | | | | | in use. Apparently it's not needed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4544 e03df62e-2008-0410-955e-edbf42e46eb7
* Exclude LUSERS lines with zero counts (NO WE WONT CHANGE THE SPELLING OF ↵Gravatar brain2006-07-251-3/+6
| | | | | | connection(s)!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4543 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent notice loops on servermasksGravatar brain2006-07-251-10/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4541 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow PRIVMSG and NOTICE targets of $<servermask> to the module events (this ↵Gravatar brain2006-07-251-2/+18
| | | | | | wasnt trivial and is almost a damn feature) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4539 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix NOTICE $* to go between serversGravatar brain2006-07-251-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4536 e03df62e-2008-0410-955e-edbf42e46eb7
* Change watchlist to a list of pointers, can operate and iterate much fasterGravatar brain2006-07-231-29/+42
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4534 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup and bugfix, not copying the correct column namesGravatar brain2006-07-231-10/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4532 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to use GetId() and ID rather than GetData() and dataGravatar om2006-07-239-30/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to dynamically allocate the fieldlistGravatar brain2006-07-231-3/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4530 e03df62e-2008-0410-955e-edbf42e46eb7
* Move mysql_rpath into extraGravatar brain2006-07-232-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527 e03df62e-2008-0410-955e-edbf42e46eb7
* *boot* youuuuu're outta here - old blocking SQL API replaced with sexy new ↵Gravatar om2006-07-231-268/+0
| | | | | | async one <3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4526 e03df62e-2008-0410-955e-edbf42e46eb7
* Free, as they should be, fieldlist and/or fieldmap in destructor of ↵Gravatar om2006-07-231-0/+7
| | | | | | PgSQLresult *if* they were allocated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4525 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff to return empty lists and maps when there are no more rows in the ↵Gravatar brain2006-07-231-3/+10
| | | | | | dataset git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4524 e03df62e-2008-0410-955e-edbf42e46eb7
* Adjust m_mysql to match the assumed behaviour of m_pgsql exactly, e.g. when ↵Gravatar brain2006-07-231-10/+17
| | | | | | | | | 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
* Tidyups, optimisations and make the log messages make sense...Gravatar om2006-07-231-10/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4522 e03df62e-2008-0410-955e-edbf42e46eb7
* simple logic error (check they already are +o before you set it), seems to ↵Gravatar om2006-07-231-1/+1
| | | | | | fix +o issue git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4521 e03df62e-2008-0410-955e-edbf42e46eb7
* Mostly updated to new API; Currently doesn't check config o:lines (should be ↵Gravatar om2006-07-231-110/+179
| | | | | | 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
* Give SQLfield's constructor parameters default values (effectively giving it ↵Gravatar om2006-07-231-1/+1
| | | | | | a default constructor), lets SQLfieldMap actually be useable.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4519 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused variable and assignmentGravatar om2006-07-231-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4518 e03df62e-2008-0410-955e-edbf42e46eb7
* Make m_pgsql return the number of affected rows for an UPDATE or INSERT query.Gravatar om2006-07-222-12/+29
| | | | | | 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
* Alter for Rows() == X, Cols() == 0 for 'X rows affected' queriesGravatar brain2006-07-223-15/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to doxygen-friendly comments, and actually document the lotGravatar brain2006-07-221-15/+206
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4514 e03df62e-2008-0410-955e-edbf42e46eb7
* Change comment to actually be rightishGravatar om2006-07-221-5/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4513 e03df62e-2008-0410-955e-edbf42e46eb7
* Reorder a couple of constructor prototypes for consistencyGravatar om2006-07-222-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4512 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_sqlutils - Currently provides ID->chan/user lookupsGravatar om2006-07-223-65/+424
| | | | | | Update m_sqlauth to use m_sqlutils git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4511 e03df62e-2008-0410-955e-edbf42e46eb7
* I hate the fucking mysql devs. Craq smoking bastards.Gravatar brain2006-07-222-28/+74
| | | | | | | | 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
* Allocate id properlyGravatar brain2006-07-222-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509 e03df62e-2008-0410-955e-edbf42e46eb7
* Actually hook up the OnUnloadModule event >_<Gravatar om2006-07-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4508 e03df62e-2008-0410-955e-edbf42e46eb7
* This compiles, dont expect it to work yetGravatar brain2006-07-221-128/+225
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4507 e03df62e-2008-0410-955e-edbf42e46eb7
* Logic error, success is when the error ID *is* NO_ERROR :PGravatar om2006-07-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4505 e03df62e-2008-0410-955e-edbf42e46eb7
* Stop publishing MySQL feature - check for successful publishing of SQL featureGravatar brain2006-07-221-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4504 e03df62e-2008-0410-955e-edbf42e46eb7
* Stop publishing the PgSQL feature ( :-'( )Gravatar om2006-07-221-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4503 e03df62e-2008-0410-955e-edbf42e46eb7
* Explicitly return false after killing user in OnCheckReady() (theoretically ↵Gravatar om2006-07-221-0/+1
| | | | | | no change, but just makes sure..) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4500 e03df62e-2008-0410-955e-edbf42e46eb7
* * Change to use QREPLY_FAILGravatar brain2006-07-221-1/+1
| | | | | | | * 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
* Handle queries failing properly, actually workGravatar om2006-07-221-18/+33
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4498 e03df62e-2008-0410-955e-edbf42e46eb7
* Set the SQLresult's error field properly when the query failsGravatar om2006-07-221-2/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4497 e03df62e-2008-0410-955e-edbf42e46eb7
* Add new QREPLY_FAIL error code (bad query syntax etc)Gravatar om2006-07-221-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4496 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra parameter to MySQLresult and SQLresultGravatar brain2006-07-221-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4495 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix test client error cheecking on result typesGravatar brain2006-07-221-8/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4494 e03df62e-2008-0410-955e-edbf42e46eb7
* Update to SQLv2 APIGravatar om2006-07-221-104/+162
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4493 e03df62e-2008-0410-955e-edbf42e46eb7
* Set the ID in the request *before* we copy it by value why not..Gravatar om2006-07-221-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4492 e03df62e-2008-0410-955e-edbf42e46eb7
* *hide*, I forgot to include the ID in the SQLresult *rehide*Gravatar om2006-07-222-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4491 e03df62e-2008-0410-955e-edbf42e46eb7
* Add back the auto reconnectGravatar brain2006-07-221-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4490 e03df62e-2008-0410-955e-edbf42e46eb7
* Test commit to sync after network outageGravatar brain2006-07-221-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4489 e03df62e-2008-0410-955e-edbf42e46eb7
* Huge ass comment about how this worksGravatar brain2006-07-221-0/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4488 e03df62e-2008-0410-955e-edbf42e46eb7