aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operlog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change allocation of InspIRCd::Parser to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-1/+1
| | | | containing it
* Remove redundant IS_LOCAL() checks discovered by static assertsGravatar Attila Molnar2014-04-261-1/+1
|
* Convert irc::stringjoiner to be a method instead of a class.Gravatar Peter Powell2014-02-061-2/+1
| | | | Add separator parameter
* Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-2/+1
| | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
|
* Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-1/+1
| | | | | | | | 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
|
* Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵Gravatar attilamolnar2013-06-121-3/+1
| | | | space as the sep char
* 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.
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
|
* Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-2/+2
|
* Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-1/+1
|
* Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+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-2/+2
|
* m_operlog Add tosnomask config option, to log all oper actions to snomask 'r'Gravatar attilamolnar2012-10-281-4/+13
| | | | | If enabled, the commands can be logged to channels with m_chanlog and also other +s +r opers can see them Fixes #325 reported by @SeLEct-
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-211-1/+1
|
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-301-1/+6
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
|
* PreCommand/PostCommand are local-only hooksGravatar danieldg2010-01-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7
* ...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
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-2/+1
| | | | 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
* 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
* Fix for bug #569, thanks dz.Gravatar w00t2008-07-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9986 e03df62e-2008-0410-955e-edbf42e46eb7
* fixed some indentation and spacing in modulesGravatar pippijn2008-06-111-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow changing of command string and parameter vector within OnPreCommand, ↵Gravatar brain2008-06-061-1/+1
| | | | | | | | | allowing for m_abbreviation and other fancy stuff. Add basic skeleton module for it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9840 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert connection::hostGravatar brain2008-05-191-7/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7
* More doneGravatar brain2008-05-191-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9759 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert moreGravatar peavey2008-05-051-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9629 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
* Convert remaining InspIRCd::Log() calls to new logging systemGravatar aquanight2008-02-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
* Wheee, mass commit! this adds const stafety, throwing a compile error if ↵Gravatar brain2008-02-201-1/+1
| | | | | | | | | anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove Implements() method from every module. booya.Gravatar brain2007-11-041-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert all to new Attach() system. The Implements() method needs removing ↵Gravatar brain2007-11-041-0/+2
| | | | | | | | | from all modules as it is dead weight. WARNING: there are segfaults here! HERE BE DRAGONS, i am not finished! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8510 e03df62e-2008-0410-955e-edbf42e46eb7
* In the grand tradition of huge fucking commits:Gravatar w00t2007-10-151-1/+1
| | | | | | | | - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
* class command_t -> class Command. Whey :DGravatar w00t2007-10-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port r8021: fixes bug #408 reported and patched by SwitchGravatar w00t2007-09-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8022 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unnecessary header trafficGravatar w00t2007-08-271-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+75
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-75/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed superfluous semicolonsGravatar pippijn2007-07-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
* ConversionsGravatar w00t2007-06-171-26/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7361 e03df62e-2008-0410-955e-edbf42e46eb7
* A ton more clear() and empty() stuff thats been lingering on the long term ↵Gravatar brain2007-06-091-1/+1
| | | | | | todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, ↵Gravatar brain2007-05-211-3/+2
| | | | | | | | | stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>. This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7