aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chanlog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change type of log messages to MODNAME in several modulesGravatar Attila Molnar2016-09-121-1/+1
|
* Change type of some associative containers to their flat versions, including ↵Gravatar Attila Molnar2014-12-151-1/+1
| | | | Extensible storage
* Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-6/+1
| | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* Clean up the protocol interfaceGravatar attilamolnar2013-08-251-1/+1
|
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
|
* Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-2/+2
| | | | | | | | The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
|
* Purge the old chanlog code from the module file.Gravatar Peter Powell2013-05-181-54/+0
|
* Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-5/+5
| | | | | - Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
* Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-4/+3
| | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
|
* Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-6/+0
|
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+2
|
* ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵Gravatar attilamolnar2012-11-191-2/+2
| | | | passing it to Channel::WriteChannelWithServ, etc.
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-4/+4
|
* m_chanlog Use std::multimap::equal_range for iteratation instead of ::find ↵Gravatar attilamolnar2012-07-111-14/+6
| | | | and then checking each key after it
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
|
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a bunch of memory-wasting C-style stringsGravatar danieldg2009-10-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Describe module purpose in /MODULES outputGravatar danieldg2009-09-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
* ModResult conversion: Change return type of all module functionsGravatar danieldg2009-09-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-241-2/+2
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module versions to use a string instead of fixed digits, and use ↵Gravatar w00t2008-08-251-1/+1
| | | | | | propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
* Move unused code to the bottom of the fileGravatar w00t2008-08-231-45/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10232 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug that would cause tags to be ignored (etc), thanks dzGravatar w00t2008-08-231-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10230 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert m_chanlog from using logfile output (dangerous, not really that ↵Gravatar w00t2008-08-231-43/+62
| | | | | | useful) to logging snotices to channel instead, using OnSendSnotice. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10229 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert channel::name to std::string, this was a beastie!Gravatar brain2008-05-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
* Zap printfsGravatar brain2008-04-041-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9326 e03df62e-2008-0410-955e-edbf42e46eb7
* Attempt to avoid infinite loopsGravatar w00t2008-04-041-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9323 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix chanlog (NOTE: previous commit will require a FULL recompile)Gravatar w00t2008-04-041-6/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9315 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove two useless methods, chanlog is b0rked at the moment.Gravatar w00t2008-04-041-3/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9313 e03df62e-2008-0410-955e-edbf42e46eb7
* Modify chanlog to send message remotely, too. Logging now works server <-> ↵Gravatar w00t2008-04-041-3/+12
| | | | | | server, so a whole network can log stuff to a single channel. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9310 e03df62e-2008-0410-955e-edbf42e46eb7
* And more of themGravatar brain2008-03-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9186 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean ↵Gravatar aquanight2008-02-171-6/+1
| | | | | | everything except USER{INPUT,OUTPUT}), also pretty up and expand on the documentation in LogManager git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8959 e03df62e-2008-0410-955e-edbf42e46eb7
* Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like ↵Gravatar aquanight2008-02-171-1/+1
| | | | | | the rest of the config, instead of comma-seperated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8957 e03df62e-2008-0410-955e-edbf42e46eb7
* Make -nofork work properly with logging now.Gravatar aquanight2008-02-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
* More <log> stuffGravatar aquanight2008-02-141-4/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8928 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_chanlog crashing.Gravatar aquanight2008-02-101-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8887 e03df62e-2008-0410-955e-edbf42e46eb7
* Per-logstream loglevels.Gravatar aquanight2008-02-101-7/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8871 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a bug in new logging API (global logstreams weren't notified of events ↵Gravatar w00t2008-02-091-0/+65
if a specific logstream had an event claimed, don't store type in logstreams (pass it to OnLog instead), and add an example of what the new logging API can do: m_chanlog - logs to #services at the moment. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8865 e03df62e-2008-0410-955e-edbf42e46eb7