aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_services_account.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-06 11:25:42 +0000
committerGravatar Sadie Powell2020-02-06 11:25:42 +0000
commit98e4ddfb21d285c8b675788c155bb204822fbd4a (patch)
tree030eb18c989bf3c9e4768a538796e3221ca7934e /src/modules/m_services_account.cpp
parentIn C++11 [io]fstream has std::string constructors; use them. (diff)
downloadinspircd++-98e4ddfb21d285c8b675788c155bb204822fbd4a.tar.gz
inspircd++-98e4ddfb21d285c8b675788c155bb204822fbd4a.tar.bz2
inspircd++-98e4ddfb21d285c8b675788c155bb204822fbd4a.zip
Use C++11 inline initialisation for class members.
Diffstat (limited to 'src/modules/m_services_account.cpp')
-rw-r--r--src/modules/m_services_account.cpp3
1 files changed, 1 insertions, 2 deletions
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)
{
}