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. --- include/modules/cap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules/cap.h') diff --git a/include/modules/cap.h b/include/modules/cap.h index 77434642a..c5b07f04c 100644 --- a/include/modules/cap.h +++ b/include/modules/cap.h @@ -342,7 +342,7 @@ namespace Cap void SetUser(LocalUser* user) { - if (user->registered & REG_NICK) + if (user->connected & User::CONN_NICK) ReplaceParamRef(0, user->nick); else ReplaceParam(0, "*"); -- cgit v1.3.1-10-gc9f91