From 98e4ddfb21d285c8b675788c155bb204822fbd4a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 6 Feb 2020 11:25:42 +0000 Subject: Use C++11 inline initialisation for class members. --- src/modules/m_services_account.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules/m_services_account.cpp') diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index 55b95f60b..d362e162a 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -157,7 +157,7 @@ class ModuleServicesAccount Channel_r chanregmode; User_r userregmode; AccountExtItemImpl accountname; - bool checking_ban; + bool checking_ban = false; public: ModuleServicesAccount() @@ -172,7 +172,6 @@ class ModuleServicesAccount , chanregmode(this) , userregmode(this) , accountname(this) - , checking_ban(false) { } -- cgit v1.3.1-10-gc9f91