summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqllog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Mass comment removal.Gravatar brain2007-01-171-11/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to allow for OnRehash to know what user initiated the rehashGravatar brain2007-01-011-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
* Majorly rewrite to totally funk up SQL logging module. Works well with both ↵Gravatar peavey2006-12-291-148/+72
| | | | | | MySQL and PostGres now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6156 e03df62e-2008-0410-955e-edbf42e46eb7
* Forgot to init it, clean up mem leakage too and log X-Lines proper.Gravatar peavey2006-12-291-10/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6151 e03df62e-2008-0410-955e-edbf42e46eb7
* Also using new interface methods, and maybe less crashage.Gravatar peavey2006-12-291-16/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6150 e03df62e-2008-0410-955e-edbf42e46eb7
* Still more massive commit fun. Headers in include/ still to be done, else ↵Gravatar w00t2006-12-151-7/+4
| | | | | | that's it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7
* Insert massive change here.Gravatar brain2006-10-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with binary versioning goodnessGravatar brain2006-10-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* Add const std::string &original_command to OnPreCommand and OnPostCommand, ↵Gravatar brain2006-09-171-1/+1
| | | | | | which gives the entire untouched command string and params in all its colon-ny glory git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5265 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove OnPostConnect here, it was being used under the assumption that it ↵Gravatar brain2006-08-241-5/+0
| | | | | | still did global connects git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5015 e03df62e-2008-0410-955e-edbf42e46eb7
* Speaking of forgetting things, someone forgot to change the name of the functionGravatar special2006-08-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5014 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone forgot another :pGravatar brain2006-08-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5013 e03df62e-2008-0410-955e-edbf42e46eb7
* Somehow, IMPORTANT changes got reverted.Gravatar brain2006-08-111-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4885 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to using Instance->Log (InspIRCd::Log) rather than log() macroGravatar brain2006-08-111-13/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd ↵Gravatar brain2006-08-111-9/+7
| | | | | | | | | object called ServerInstance, ilog() takes an InspIRCd object as first param. TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7
* New API updateGravatar om2006-08-111-24/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4871 e03df62e-2008-0410-955e-edbf42e46eb7
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.Gravatar brain2006-08-101-3/+3
| | | | | | | | Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
* PublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> ↵Gravatar brain2006-08-101-1/+1
| | | | | | InspIRCd:: git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4846 e03df62e-2008-0410-955e-edbf42e46eb7
* Removal of Server::Log -- not much ever used it anyway with the ability to ↵Gravatar brain2006-08-101-1/+1
| | | | | | use log(). log() macro still exists, and calls InspIRCd::Log() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4845 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes and removal of Server::GetServerName()Gravatar brain2006-08-101-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to use GetId() and ID rather than GetData() and dataGravatar om2006-07-231-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531 e03df62e-2008-0410-955e-edbf42e46eb7
* Alter for Rows() == X, Cols() == 0 for 'X rows affected' queriesGravatar brain2006-07-221-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515 e03df62e-2008-0410-955e-edbf42e46eb7
* I hate the fucking mysql devs. Craq smoking bastards.Gravatar brain2006-07-221-22/+64
| | | | | | | | 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-221-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509 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
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵Gravatar brain2006-07-161-1/+1
| | | | | | | | | | parameters to commands in handlers) which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
* delete operator tracking in debug mode (using a macro -- live with it.)Gravatar brain2006-04-241-15/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵Gravatar w00t2006-04-061-64/+85
| | | | | | THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
* More const ref fixesGravatar brain2006-03-111-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3656 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed Server* Srv stuff in these too, although by default these arent ↵Gravatar brain2006-02-261-10/+2
| | | | | | available to win32 builds git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3333 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* I dont know what ive been told, but extra brackets are mighty cold *singing ↵Gravatar brain2006-01-121-1/+1
| | | | | | | | | marching song* Its too early for this poo. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2778 e03df62e-2008-0410-955e-edbf42e46eb7
* Last set converted to 'Implements'Gravatar brain2005-12-261-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2667 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed behaviour of module API to pass Server* to the constructor, rather ↵Gravatar brain2005-12-071-5/+5
| | | | | | than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a parameter to OnRehash for the rehash parameterGravatar brain2005-11-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2058 e03df62e-2008-0410-955e-edbf42e46eb7
* Added opertype to OnOper and added OnMode functionGravatar brain2005-11-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2010 e03df62e-2008-0410-955e-edbf42e46eb7
* Added reason to OnUserQuitGravatar brain2005-11-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2007 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed OnMeshToken (deprecated)Gravatar brain2005-11-251-7/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1950 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, faster on most systems in a single threadGravatar brain2005-05-151-0/+2
| | | | | | | Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
* Major code tidyup (-W) - expect a few belchesGravatar brain2005-04-261-18/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimised SQLGravatar brain2005-04-251-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1184 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed $ModDescGravatar brain2005-04-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1180 e03df62e-2008-0410-955e-edbf42e46eb7
* Added global connect/oper loggingGravatar brain2005-04-231-0/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1178 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed typo in OnKillGravatar brain2005-04-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1169 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed recursive 'splat' in the actors tableGravatar brain2005-04-231-5/+40
| | | | | | | Added other log events git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1168 e03df62e-2008-0410-955e-edbf42e46eb7
* Added preliminary m_sqllog.cppGravatar brain2005-04-231-0/+231
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1167 e03df62e-2008-0410-955e-edbf42e46eb7