aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ircv3_batch.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_ircv3_batch.cpp
parentIn C++11 [io]fstream has std::string constructors; use them. (diff)
Use C++11 inline initialisation for class members.
Diffstat (limited to 'src/modules/m_ircv3_batch.cpp')
-rw-r--r--src/modules/m_ircv3_batch.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_ircv3_batch.cpp b/src/modules/m_ircv3_batch.cpp
index 638118b2d..f6a18ad27 100644
--- a/src/modules/m_ircv3_batch.cpp
+++ b/src/modules/m_ircv3_batch.cpp
@@ -65,7 +65,7 @@ class IRCv3::Batch::ManagerImpl : public Manager
ClientProtocol::EventProvider protoevprov;
IntExtItem batchbits;
BatchList active_batches;
- bool unloading;
+ bool unloading = false;
bool ShouldSendTag(LocalUser* user, const ClientProtocol::MessageTagData& tagdata) override
{
@@ -101,7 +101,6 @@ class IRCv3::Batch::ManagerImpl : public Manager
, cap(mod, "batch")
, protoevprov(mod, "BATCH")
, batchbits(mod, "batchbits", ExtensionItem::EXT_USER)
- , unloading(false)
{
}