| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Store durations as unsigned long not long in XLine and m_filter. | 2018-12-13 | 1 | -5/+5 | |
| | | |||||
| * | Show reasons in xline expiry messages. | 2018-10-14 | 1 | -2/+2 | |
| | | |||||
| * | Don't sync xlines defined in the config and expire them on rehash. | 2018-09-23 | 1 | -1/+22 | |
| | | | | | Closes #1427. | ||||
| * | Merge tag 'v2.0.26' into master. | 2018-04-22 | 1 | -4/+0 | |
| |\ | |||||
| | * | Fix ELine::Matches returning false on existing match | 2018-04-06 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When checking for an E-Line match, we want to actually check for a current match even if we previously matched and are set exempt. This fixes situations where you have an E-Lined CGI:IRC address, a G-Lined IP range for some area/host/etc and a smaller E-Lined IP range for known good clients. Currently when CGI:IRC changes the IP, E-Lines are rechecked but because the user is already exempt (from the CGI:IRC E-Line), they are set no longer exempt and match a G-Line, when they should match an E-Line. This exact change has been done before in commit 'c8b344e' and shortly reverted in 'c490a90' to fix issue #989 (CGI:IRC users remaining exempt when the CGI:IRC address is E-Lined but they are not). The actual cause to this issue was likely that the user's hostname was not changed from the CGI:IRC hostname/IP prior to rechecking E-Lines. This is being fixed in a separate commit. | ||||
| * | | Move OnStats from the core to a cross-module event. | 2018-04-08 | 1 | -0/+1 | |
| | | | | | | | | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. | ||||
| * | | Add the override keyword in places that it is missing. | 2017-11-21 | 1 | -5/+5 | |
| | | | | | | | | | GCCs warnings for this are much better than Clangs. | ||||
| * | | Hide User#host and User#dhost and use accessors to modify them. | 2017-10-28 | 1 | -3/+3 | |
| | | | | | | | | | | | This removes the need to invalidate the cache after changing a user's hostname. | ||||
| * | | Merge the latest changes from insp20 into master. | 2017-10-12 | 1 | -9/+3 | |
| |\| | |||||
| | * | Fix killing elined clients on [gkz]line in some cases. | 2017-09-11 | 1 | -8/+3 | |
| | | | |||||
| | * | Revert c8b344ea748d62d9f37cacd4dd785f15b186725c to fix regression | 2015-04-16 | 1 | -0/+3 | |
| | | | | | | | | | Fixes issue #989 reported by @B00mX0r | ||||
| | * | Fix elines not matching elined users when rechecking elined status | 2015-01-17 | 1 | -3/+0 | |
| | | | |||||
| * | | Replace irc::string in XLineLookup with irc::insensitive_swo map | 2016-08-22 | 1 | -2/+2 | |
| | | | |||||
| * | | Introduce Stats::Context, pass it to the OnStats hook and switch all code to it | 2016-02-25 | 1 | -2/+2 | |
| | | | |||||
| * | | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵ | 2016-02-25 | 1 | -1/+1 | |
| | | | | | | | | | parameters | ||||
| * | | Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned. | 2015-01-24 | 1 | -1/+1 | |
| | | | | | | | | | This is specified in RFC 1459 so we should probably use it. | ||||
| * | | Add stdalgo::erase() and use it to simplify code | 2014-11-01 | 1 | -6/+2 | |
| | | | |||||
| * | | Access local user list via new UserManager::GetLocalUsers() and make ↵ | 2014-07-19 | 1 | -5/+8 | |
| | | | | | | | | | local_users private | ||||
| * | | Move and rename typedef LocalUserList to UserManager::LocalList | 2014-07-19 | 1 | -5/+5 | |
| | | | |||||
| * | | Remove now needless User::ForceNickChange() | 2014-07-03 | 1 | -1/+1 | |
| | | | | | | | | | Change call sites to call ChangeNick() | ||||
| * | | Change allocation of InspIRCd::BanCache to be physically part of the object ↵ | 2014-06-13 | 1 | -3/+3 | |
| | | | | | | | | | containing it | ||||
| * | | Pull in bancache.h from inspircd.h | 2014-06-13 | 1 | -1/+0 | |
| | | | |||||
| * | | Omit the server name internally when building a /STATS reply and prepend it ↵ | 2014-01-25 | 1 | -1/+1 | |
| | | | | | | | | | later | ||||
| * | | Convert LocalUserList to an intrusively linked list | 2014-01-24 | 1 | -3/+3 | |
| | | | |||||
| * | | Improve UserManager::QuitUser() and related code | 2014-01-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | | - Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree | ||||
| * | | Rename <options:moronbanner> to <options:xlinemessage>. | 2013-08-10 | 1 | -2/+2 | |
| | | | | | | | | | This name is more descriptive of what is actually is used for. | ||||
| * | | Change the syntax of FOREACH macros to be less dumb. | 2013-08-04 | 1 | -3/+3 | |
| | | | |||||
| * | | Convert XLine::Displayable to return a std::string. | 2013-05-21 | 1 | -13/+13 | |
| | | | |||||
| * | | Change the signature of User::ForceNickChange() to accept const std::string& ↵ | 2013-05-18 | 1 | -1/+1 | |
| | | | | | | | | | instead of const char* | ||||
| * | | Replace some C-isms with C++-isms. | 2013-05-15 | 1 | -4/+4 | |
| | | | | | | | | | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. | ||||
| * | | Add method for writing server notices. | 2013-05-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | Add LOG_ prefix to the log level enum values. | 2013-04-12 | 1 | -1/+1 | |
| | | | |||||
| * | | BanCache: Don't repeat ourselves, one BanCacheManager::AddHit() and one ↵ | 2013-04-10 | 1 | -4/+1 | |
| | | | | | | | | | BanCacheHit constructor is enough | ||||
| * | | XLine: Provide a default implementation for DisplayExpiry() | 2013-04-09 | 1 | -27/+4 | |
| | | | |||||
| * | | Move member variables from User to LocalUser | 2013-04-01 | 1 | -8/+12 | |
| |/ | | | | | | | | - idle_lastmsg - dns_done - quitting_sendq - exempt - lastping | ||||
| * | Fix expired xlines being treated as live ones in XLineManager::AddLine() | 2012-12-05 | 1 | -1/+6 | |
| | | | | | | | | | | This fixes ADDLINEs not being propagated and /gline etc. failing for already existing but expired xlines Special thanks to @JDowny (TinMan) for his detailed report and cooperation that made this fix possible Fixes #306 reported by @TurkDesk Fixes #379 reported by @JDowny | ||||
| * | Add a typedef for LocalUserList | 2012-11-29 | 1 | -4/+4 | |
| | | |||||
| * | Change empty string assignments to .clear() or remove them entirely | 2012-11-28 | 1 | -1/+1 | |
| | | | | | Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f | ||||
| * | Remove superfluous std::string()s | 2012-10-12 | 1 | -1/+1 | |
| | | |||||
| * | Remove unnecessary cleanup in XLineManager destructor | 2012-08-25 | 1 | -5/+0 | |
| | | |||||
| * | Remove unnecessary string copy in XLineManager::InvokeStats | 2012-08-25 | 1 | -4/+2 | |
| | | |||||
| * | Remove negative BanCache entries only when the AddLine is successful instead ↵ | 2012-07-22 | 1 | -2/+2 | |
| | | | | | of removing them before checking anything | ||||
| * | Replace copyright headers with headers granting specific authors copyright | 2012-04-19 | 1 | -8/+18 | |
| | | |||||
| * | ...because every now and again, i have to do a massive commit. | 2010-01-11 | 1 | -1/+1 | |
| | | | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 | ||||
| * | Move command-line items to CommandLineConf | 2009-10-21 | 1 | -1/+2 | |
| | | | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7 | ||||
| * | Split LocalUser and RemoteUser | 2009-10-21 | 1 | -4/+4 | |
| | | | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11940 e03df62e-2008-0410-955e-edbf42e46eb7 | ||||
| * | Update documentation and remove unused classes/functions | 2009-10-21 | 1 | -13/+93 | |
| | | | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11938 e03df62e-2008-0410-955e-edbf42e46eb7 | ||||
| * | Get rid of a bunch of memory-wasting C-style strings | 2009-10-03 | 1 | -2/+2 | |
| | | | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 | ||||
| * | Remove InspIRCd* parameters and fields | 2009-09-26 | 1 | -7/+7 | |
| | | | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 | ||||
| * | Fix iteration of ServerInstance->Users->local_users now that QuitUser can ↵ | 2009-09-16 | 1 | -2/+3 | |
| | | | | | | | modify the vector git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11732 e03df62e-2008-0410-955e-edbf42e46eb7 | ||||
