From 6fc111ccb6650a67f014977b2e7ebc2fb5b16790 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 29 Oct 2022 15:44:01 +0100 Subject: Rename session registration to connection to avoid a semantic conflict. We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works. --- src/modules/m_ircv3_chghost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_ircv3_chghost.cpp') diff --git a/src/modules/m_ircv3_chghost.cpp b/src/modules/m_ircv3_chghost.cpp index df706334f..5ff9ac1ba 100644 --- a/src/modules/m_ircv3_chghost.cpp +++ b/src/modules/m_ircv3_chghost.cpp @@ -30,7 +30,7 @@ class ModuleIRCv3ChgHost final void DoChgHost(User* user, const std::string& ident, const std::string& host) { - if (!(user->registered & REG_NICKUSER)) + if (!(user->connected & User::CONN_NICKUSER)) return; ClientProtocol::Message msg("CHGHOST", user); -- cgit v1.3.1-10-gc9f91