aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_connectban.cpp
Commit message (Expand)AuthorAgeFilesLines
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
* m_connectban and m_svshold: Use DurationString() in X-line messages.Gravatar Robby2019-04-281-3/+2
* Improve X-line text consistency.•••- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be> Gravatar Matt Schatz2019-01-091-2/+2
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-1/+1
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-3/+3
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* 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
* m_connectban Don't depend on the definition of clonemapGravatar Attila Molnar2014-03-171-3/+3
* Give m_connectban a configurable ban messageGravatar Googolplexed2014-02-271-1/+3
* Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-1/+1
* 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-6/+1
* Add ConfigTag::getDuration() with optional bounds checkingGravatar attilamolnar2013-08-121-3/+1
* Replace range() with min and max arguments on getInt().Gravatar Peter Powell2013-08-101-12/+3
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* Change modules to use the MODNAME constant when logging.•••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. Gravatar Peter Powell2013-08-041-1/+1
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* Merge insp20Gravatar attilamolnar2013-06-061-4/+5
|\
| * Fix an extremely low risk crash bug in m_connectban.Gravatar Peter Powell2013-05-061-4/+5
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
* | 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-5/+5
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+1
|/
* m_connectban Switch to OnSetUserIP hook to handle cgiirc users properly, igno...Gravatar attilamolnar2013-03-111-2/+5
* 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
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+2
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-12/+7
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-3/+5
* Module description updatesGravatar Robby-2012-05-301-2/+2
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
* Fix incorrect forward-port of patch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12308 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-191-1/+1
* Slightly more comprehensible message for connect throttle banning.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-191-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
* Create irc::sockets::cidr_mask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11968 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-241-4/+4
* Make irc::sockets::* parameters consistent, add irc::sockets::mask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11953 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-221-5/+6
* 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
* 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-4/+3
* 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
* Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-141-1/+3
* Remove more text<->binary IP conversions, making code more IPv4/IPv6 independent•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11578 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-1/+1
* Change IP address storage in User to use more IPv4/IPv6 common code•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11575 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-1/+1
* Strip SUPPORT_IP6LINKS #define•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-6/+0
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-241-2/+2
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Module class was still called QuitBan, rename to ConnectBan for sanity•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10799 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-11-081-4/+4
* Fix a log source•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10798 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-11-081-1/+1
* Change module versions to use a string instead of fixed digits, and use props...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-1/+1