aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ircv3_chghost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_ircv3_chghost.cpp')
-rw-r--r--src/modules/m_ircv3_chghost.cpp2
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);