aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_rline.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-1/+1
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Make RLines match against IP as well as hostGravatar genius30002017-10-101-2/+3
|
* Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-3/+3
|
* Clean up CoreExceptionGravatar Attila Molnar2013-12-181-1/+1
| | | | | - Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
* Make various self contained methods static.Gravatar Peter Powell2013-12-151-2/+2
| | | | | - InspIRCd::IsValidMask - InspIRCd::TimeString
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
|
* Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-3/+1
| | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
|
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
|
* Merge insp20Gravatar attilamolnar2013-06-061-3/+2
|\
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-3/+2
| |
* | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-211-2/+2
| |
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-9/+9
| | | | | | | | | | - 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 method for writing server notices.Gravatar Peter Powell2013-05-141-2/+2
| | | | | | | | | | | | | | | | | | This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
* | Merge insp20Gravatar attilamolnar2013-04-281-4/+44
|\|
| * m_rline Switch to OnUserRegister hook to disconnect banned users earlierGravatar attilamolnar2013-04-211-2/+10
| |
| * m_filter, m_rline Remove rlines and filters when the regex engine changes or ↵Gravatar attilamolnar2013-04-211-3/+35
| | | | | | | | becomes unavailable
* | Tidy up source files:Gravatar Peter Powell2013-04-121-1/+1
| | | | | | | | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* | XLine: Provide a default implementation for DisplayExpiry()Gravatar attilamolnar2013-04-091-6/+0
| |
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-1/+1
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0
| |
* | Move member variables from User to LocalUserGravatar attilamolnar2013-04-011-2/+3
|/ | | | | | | | - idle_lastmsg - dns_done - quitting_sendq - exempt - lastping
* m_cban, m_rline, m_shun Don't broadcast when user is a local userGravatar attilamolnar2012-12-051-0/+3
| | | | spanningtree sends an ADDLINE in this case
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-1/+1
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* 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
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-4/+4
|
* m_cban, m_rline, m_shun Broadcast these commands as some services ↵Gravatar attilamolnar2012-10-041-1/+1
| | | | implementations send them (even though they shouldn't)
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-301-2/+4
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* m_rline Fix memory leak when zlineonmatch was true and the zline existed, ↵Gravatar attilamolnar2012-06-171-17/+16
| | | | simplify zline adding logic
* Module description updatesGravatar Robby-2012-05-301-3/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|
* Move initialization that throws configuration exceptions to init()Gravatar danieldg2010-01-171-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12279 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow regex engine to be omitted in configuration to use automatic bindingGravatar danieldg2010-01-141-4/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12261 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compilation errors in previous commitGravatar danieldg2010-01-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12260 e03df62e-2008-0410-955e-edbf42e46eb7
* Specify regex engine in m_filter/m_rline CAPAB line instead of marking ↵Gravatar danieldg2010-01-141-1/+1
| | | | | | m_regex_* as VF_COMMON git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12259 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
* Use ServiceProvider for inter-module dependenciesGravatar danieldg2009-11-161-61/+23
| | | | | | | | | | | This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module API to use LocalUser* where correctGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 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
* Fix module unmapping with culled Module objectsGravatar danieldg2009-10-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a bunch of memory-wasting C-style stringsGravatar danieldg2009-10-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-9/+9
| | | | 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
* Don't let R-lines be bancached [jackmcbarn]Gravatar danieldg2009-09-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11737 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for zline on rline [jackmcbarn]Gravatar danieldg2009-09-161-2/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11736 e03df62e-2008-0410-955e-edbf42e46eb7
* Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]Gravatar danieldg2009-09-141-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up Command constructorGravatar danieldg2009-09-131-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove CMD_LOCALONLY, enforce use of GetRouting for routed commandsGravatar danieldg2009-09-031-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7