diff options
| author | 2022-10-29 15:44:01 +0100 | |
|---|---|---|
| committer | 2022-10-29 15:54:59 +0100 | |
| commit | 6fc111ccb6650a67f014977b2e7ebc2fb5b16790 (patch) | |
| tree | ea56149af9bf3e2226e32385ad6989355266090d /src/modules/m_ircv3_chghost.cpp | |
| parent | Use User::IsFullyConnected instead of checking for REG_ALL. (diff) | |
| download | inspircd++-6fc111ccb6650a67f014977b2e7ebc2fb5b16790.tar.gz inspircd++-6fc111ccb6650a67f014977b2e7ebc2fb5b16790.tar.bz2 inspircd++-6fc111ccb6650a67f014977b2e7ebc2fb5b16790.zip | |
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.
Diffstat (limited to 'src/modules/m_ircv3_chghost.cpp')
| -rw-r--r-- | src/modules/m_ircv3_chghost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
