1. 15 Oct, 2019 1 commit
  2. 23 Aug, 2019 1 commit
  3. 20 Aug, 2019 1 commit
  4. 17 Jun, 2019 1 commit
  5. 02 May, 2019 1 commit
  6. 26 Apr, 2019 1 commit
  7. 10 Mar, 2019 1 commit
    • Matt Schatz's avatar
      Fix BanCache entries existing after X-line expiry. · 95c5aa91
      Matt Schatz authored
      When DefaultApply() adds a hit to the BanCache it uses the X-line
      duration to set a duration on the entry. This can result in an
      entry lasting longer than the X-line itself. Fix this by setting
      the entry duration to the time left on the X-line.
      95c5aa91
  8. 22 Feb, 2019 1 commit
  9. 02 Feb, 2019 1 commit
  10. 12 Nov, 2018 1 commit
  11. 05 Nov, 2018 1 commit
  12. 04 Nov, 2018 1 commit
  13. 09 Oct, 2018 1 commit
  14. 18 Sep, 2018 1 commit
  15. 10 Aug, 2018 1 commit
    • Peter Powell's avatar
      Fix sending malformed ERR_UNKNOWNCOMMAND messages in some cases. · 0218d329
      Peter Powell authored
      This is not something the average user will encounter. It can only
      happen if the user sends a message with preceding whitespace or a
      prefix but no command name.
      
      This is not something that should ever be seen in practise so we
      just penalise the user and pretend nothing ever happened.
      
      The previous code also contained undefined behaviour but it acted
      sensibly on all compilers we support so it was not crashable.
      0218d329
  16. 07 Aug, 2018 1 commit
  17. 12 Jul, 2018 1 commit
  18. 11 Jul, 2018 1 commit
  19. 10 Jul, 2018 2 commits
  20. 04 Jul, 2018 1 commit
  21. 18 Jun, 2018 1 commit
  22. 16 Jun, 2018 6 commits
  23. 08 Jun, 2018 1 commit
  24. 20 Apr, 2018 1 commit
  25. 16 Apr, 2018 1 commit
    • Matt Schatz's avatar
      Improve some documentation (#1483). · a2dcf9a1
      Matt Schatz authored
      * Improve exemptchanops in inspircd.conf.example (<options>)
        and modules.conf.example; along with both helpop examples.
      * Add "the" to all "requires X module" in both helpop examples.
      * Refer to customprefix instead of chanprotect and halfop.
      * Add SNOMASK 'r' and 'R' (OPERLOG) to both helpop examples.
      * Clean up unnecessarily split SNOMASK lines in both helpop examples.
      * Move chmode 'g' to be in alphabetical order in both helpops examples.
      * Specify the needed mask formats for TLINE in helpop-full example.
      * Remove extra '\' in RLINE mask format in helpop-full example.
        Force xml format in helpop-full
      * Generalize "color codes" to "formatting codes"
      * Fix file name in include for example helpop-full
      a2dcf9a1
  26. 11 Apr, 2018 2 commits
  27. 09 Apr, 2018 1 commit
  28. 06 Apr, 2018 2 commits
    • genius3000's avatar
      Fix ELine::Matches returning false on existing match · 3203d698
      genius3000 authored
      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 'c8b344ea' and shortly
      reverted in 'c490a906' 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.
      3203d698
    • Peter Powell's avatar
      Set User::host before calling ChangeIP() · 1cc4cf34
      Peter Powell authored
      ChangeIP() calls SetClientIP() which revalidates whether the user
      matches an ELine. However, because the hostname has not changed yet
      the user may incorrectly be marked as non-exempt.
      1cc4cf34
  29. 30 Mar, 2018 1 commit
    • genius3000's avatar
      Update the GeoIP ExtItem when CGI:IRC sets the real IP (#1471) · fdeccd7d
      genius3000 authored
      Since CGI:IRC calls it's 'ChangeIP()' either from 'OnCheckReady()'
      or 'OnUserRegister()', both of which are called after the user has
      sent NICK/USER, we can safely skip re-setting the ExtItem prior to
      this point.
      
      This skips the first 'OnSetUserIP()' from 'User::AddUser()' as
      the 'OnSetConnectClass()' catch handles the initial setting.
      fdeccd7d
  30. 04 Mar, 2018 1 commit
  31. 03 Mar, 2018 1 commit
  32. 24 Feb, 2018 1 commit