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_setname.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_setname.cpp') diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index e94f425f0..884edabec 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -95,7 +95,7 @@ public: void OnChangeRealName(User* user, const std::string& real) override { - if (!(user->registered & REG_NICKUSER)) + if (!(user->connected & User::CONN_NICKUSER)) return; ClientProtocol::Message msg("SETNAME", user); -- cgit v1.3.1-10-gc9f91