diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md index cdfdac061..fa697f854 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.md @@ -12,7 +12,7 @@ The GitHub issue tracker is for bug reports ONLY. General support can be found a Discussions: https://github.com/inspircd/inspircd/discussions Docs: https://docs.inspircd.org -IRC: irc.chatspike.net #inspircd +IRC: irc.inspircd.org #inspircd Example configs (v3): https://github.com/inspircd/inspircd/tree/insp3/docs/conf Example configs (v4): https://github.com/inspircd/inspircd/tree/insp4/docs/conf --> diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md index a47cb9d6a..89979f328 100644 --- a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md @@ -10,7 +10,7 @@ The GitHub issue tracker is for feature requests ONLY. General support can be fo Discussions: https://github.com/inspircd/inspircd/discussions Docs: https://docs.inspircd.org -IRC: irc.chatspike.net #inspircd +IRC: irc.inspircd.org #inspircd Example configs (v3): https://github.com/inspircd/inspircd/tree/insp3/docs/conf Example configs (v4): https://github.com/inspircd/inspircd/tree/insp4/docs/conf --> diff --git a/.github/SECURITY.md b/.github/SECURITY.md index 184c3c773..b39b39693 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -18,6 +18,6 @@ Version | Supported ## Reporting a Vulnerability -Please do not report security vulnerabilities on GitHub. Instead, get the attention of a developer in our development IRC channel at irc.chatspike.net #inspircd.dev and PM them the details. +Please do not report security vulnerabilities on GitHub. Instead, get the attention of a developer in our development IRC channel at irc.inspircd.org #inspircd.dev and PM them the details. We will triage your issue as soon as possible and try to release a fixed version within a week of receiving your report. diff --git a/.github/workflows/misspell-fixer.yml b/.github/workflows/misspell-fixer.yml index 61f659d08..daca2637e 100644 --- a/.github/workflows/misspell-fixer.yml +++ b/.github/workflows/misspell-fixer.yml @@ -31,7 +31,7 @@ jobs: - uses: sobolevn/misspell-fixer-action@master with: options: '-rvnfuRVD .' - - uses: peter-evans/create-pull-request@v6 + - uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ env.REF_BRANCH }}+fix-spellings-${{ env.DATE }} diff --git a/README.md b/README.md index ed816f8ec..1436f2e9e 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,6 @@ InspIRCd is licensed under [version 2 of the GNU General Public License](https:/ * [Documentation](https://docs.inspircd.org) * [GitHub](https://github.com/inspircd) * [Social Media](https://docs.inspircd.org/social) -* Support IRC channel — \#inspircd on irc.chatspike.net -* Development IRC channel — \#inspircd.dev on irc.chatspike.net +* Support IRC channel — \#inspircd on irc.inspircd.org +* Development IRC channel — \#inspircd.dev on irc.inspircd.org * InspIRCd test network — testnet.inspircd.org diff --git a/docs/LICENSE.txt b/docs/LICENSE.txt index e8de3f876..6e2ceda85 100644 --- a/docs/LICENSE.txt +++ b/docs/LICENSE.txt @@ -2,7 +2,7 @@ "Upgrading" to a later version of the GENERAL PUBLIC LICENSE is not permitted. For further information on - this, please contact us at irc.chatspike.net on #inspircd. + this, please contact us at irc.inspircd.org on #inspircd. ---------------------------------------------------------------------- diff --git a/docs/conf/motd.example.txt b/docs/conf/motd.example.txt index d6fe37e2c..7ab97cafc 100644 --- a/docs/conf/motd.example.txt +++ b/docs/conf/motd.example.txt @@ -24,7 +24,7 @@ +---- To change this see \bmotd.example.txt\x ----+ | | | * \bWeb:\x https://www.inspircd.org | - | * \bIRC:\x irc.chatspike.net #inspircd | + | * \bIRC:\x irc.inspircd.org #inspircd | | * \bDocs:\x https://docs.inspircd.org | | * \bIssues:\x https://git.io/JIuYi | | * \bDiscussions:\x https://git.io/JIuYv | diff --git a/docs/conf/opermotd.example.txt b/docs/conf/opermotd.example.txt index 9fd5a4dda..27d32f011 100644 --- a/docs/conf/opermotd.example.txt +++ b/docs/conf/opermotd.example.txt @@ -24,7 +24,7 @@ +-- To change this see \bopermotd.example.txt\x --+ | | | * \bWeb:\x https://www.inspircd.org | - | * \bIRC:\x irc.chatspike.net #inspircd | + | * \bIRC:\x irc.inspircd.org #inspircd | | * \bDocs:\x https://docs.inspircd.org | | * \bIssues:\x https://git.io/JIuYi | | * \bDiscussions:\x https://git.io/JIuYv | diff --git a/include/usermanager.h b/include/usermanager.h index 9c824f3f7..971f8935b 100644 --- a/include/usermanager.h +++ b/include/usermanager.h @@ -140,6 +140,9 @@ public: */ void RehashCloneCounts(); + /** Rebuilds the list of services servers. Required when \ settings change. */ + void RehashServices(); + /** Return the number of local and global clones of this user * @param user The user to get the clone counts for * @return The clone counts of this user. The returned reference is volatile - you diff --git a/make/configure.pm b/make/configure.pm index 89dbcf968..a597758cf 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -179,7 +179,7 @@ non-interactive configuration is started and any omitted values are defaulted. <|BOLD INSPIRCD_VERBOSE=<0|1>|> Shows additional information for debugging. If you have any problems with configuring InspIRCd then visit our IRC channel -at irc.chatspike.net #InspIRCd or create a support discussion at +at irc.inspircd.org #InspIRCd or create a support discussion at https://github.com/inspircd/inspircd/discussions. Packagers: see https://docs.inspircd.org/packaging/ for packaging advice. diff --git a/make/directive.pm b/make/directive.pm index c91e30ca6..41fda097d 100644 --- a/make/directive.pm +++ b/make/directive.pm @@ -161,7 +161,7 @@ sub __error { push @message, ''; push @message, 'If you would like help with fixing this problem then visit our IRC'; - push @message, 'channel at irc.chatspike.net #InspIRCd or create a support discussion'; + push @message, 'channel at irc.inspircd.org #InspIRCd or create a support discussion'; push @message, 'at https://github.com/inspircd/inspircd/discussions.'; push @message, ''; diff --git a/make/template/help.txt b/make/template/help.txt index 160c9fbbd..c2d798d35 100644 --- a/make/template/help.txt +++ b/make/template/help.txt @@ -4,7 +4,7 @@ In order to get your server running you need to create config files. Examples can be found at `@EXAMPLE_DIR@`. If you need any help with this then you can visit our support channel at -irc.chatspike.net #inspircd, open a support discussion at https://git.io/JIuYv, +irc.inspircd.org #inspircd, open a support discussion at https://git.io/JIuYv, or refer to the the docs site: https://docs.inspircd.org/@VERSION_MAJOR@/configuration diff --git a/make/template/inspircd-testssl.1 b/make/template/inspircd-testssl.1 index 39ec0c0bf..777328567 100644 --- a/make/template/inspircd-testssl.1 +++ b/make/template/inspircd-testssl.1 @@ -41,6 +41,6 @@ The TCP port to connect to. Disables checking whether the server certificate is signed by a Certificate Authority. .SH "SUPPORT" -IRC support for InspIRCd can be found at ircs://irc.chatspike.net/inspircd. +IRC support for InspIRCd can be found at ircs://irc.inspircd.org/inspircd. Bug reports and feature requests can be filed at https://github.com/inspircd/inspircd/issues. diff --git a/make/template/inspircd.1 b/make/template/inspircd.1 index 10a2acb5f..d23a14bc6 100644 --- a/make/template/inspircd.1 +++ b/make/template/inspircd.1 @@ -61,6 +61,6 @@ Allow the server to start as root (not recommended). Displays the InspIRCd version and exits. .SH "SUPPORT" -IRC support for InspIRCd can be found at ircs://irc.chatspike.net/inspircd. +IRC support for InspIRCd can be found at ircs://irc.inspircd.org/inspircd. Bug reports and feature requests can be filed at https://github.com/inspircd/inspircd/issues. diff --git a/src/configreader.cpp b/src/configreader.cpp index 07ae7900b..15ddb1409 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -754,6 +754,7 @@ void ConfigReaderThread::OnStop() // The description of this server may have changed - update it for WHOIS etc. ServerInstance->FakeClient->server->description = Config->ServerDesc; + ServerInstance->Users.RehashServices(); try { diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 9e5e55467..26ec95774 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -350,6 +350,17 @@ void UserManager::RehashCloneCounts() AddClone(u); } +void UserManager::RehashServices() +{ + UserManager::ServiceList newservices; + for (const auto& [_, user] : ServerInstance->Users.GetUsers()) + { + if (user->server->IsService()) + newservices.push_back(user); + } + std::swap(ServerInstance->Users.all_services, newservices); +} + const UserManager::CloneCounts& UserManager::GetCloneCounts(User* user) const { CloneMap::const_iterator it = clonemap.find(user->GetCIDRMask()); diff --git a/tools/testssl b/tools/testssl index 0918764ff..26a488557 100755 --- a/tools/testssl +++ b/tools/testssl @@ -170,5 +170,5 @@ You may also find running some of the following commands to be helpful: openssl s_client -connect $hostip:$port -debug -security_debug If you need any help working out what is wrong then visit our support channel -at irc.chatspike.net #inspircd. +at irc.inspircd.org #inspircd. EOM