aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_rline.cpp
Commit message (Expand)AuthorAgeFilesLines
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-301-2/+2
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-2/+2
* Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-2/+6
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-7/+7
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-1/+1
* Make RLines match against IP as well as hostGravatar genius30002017-10-101-2/+3
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-3/+3
* Clean up CoreException•••- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs Gravatar Attila Molnar2013-12-181-1/+1
* Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-2/+2
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
* Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-3/+1
* 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.•••- 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. Gravatar Peter Powell2013-05-151-9/+9
* | Add method for writing server notices.•••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. Gravatar Peter Powell2013-05-141-2/+2
* | 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
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-1/+1
* | 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 LocalUser•••- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping Gravatar attilamolnar2013-04-011-2/+3
|/
* m_cban, m_rline, m_shun Don't broadcast when user is a local user•••spanningtree sends an ADDLINE in this case Gravatar attilamolnar2012-12-051-0/+3
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-021-1/+1
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-4/+4
* m_cban, m_rline, m_shun Broadcast these commands as some services implementat...Gravatar attilamolnar2012-10-041-1/+1
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-2/+4
* m_rline Fix memory leak when zlineonmatch was true and the zline existed, sim...Gravatar attilamolnar2012-06-171-17/+16
* 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()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12279 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-171-0/+4
* Allow regex engine to be omitted in configuration to use automatic binding•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12261 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-4/+6
* Fix compilation errors in previous commit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12260 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-1/+1
* Specify regex engine in m_filter/m_rline CAPAB line instead of marking m_rege...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12259 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-1/+1
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Use ServiceProvider for inter-module dependencies•••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 Gravatar danieldg2009-11-161-61/+23
* Change module API to use LocalUser* where correct•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-1/+1
* Remove dummy API_VERSION from Version constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Fix module unmapping with culled Module objects•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-141-1/+1
* Update Event and Request APIs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-2/+2
* Get rid of a bunch of memory-wasting C-style strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-031-1/+1
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-9/+9
* Describe module purpose in /MODULES output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-221-1/+1
* Don't let R-lines be bancached [jackmcbarn]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11737 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-161-1/+1