aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.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/inspircd.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/inspircd.cpp')
-rw-r--r--src/inspircd.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 97941c72f..e3ea33d6a 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -448,12 +448,7 @@ void InspIRCd::WritePID(bool exitonfail)
}
InspIRCd::InspIRCd(int argc, char** argv)
- : FakeClient(NULL)
- , ConfigFileName(INSPIRCD_CONFIG_PATH "/inspircd.conf")
- , ConfigThread(NULL)
- , Config(NULL)
- , XLines(NULL)
- , PI(&DefaultProtocolInterface)
+ : PI(&DefaultProtocolInterface)
, GenRandom(&DefaultGenRandom)
, IsChannel(&DefaultIsChannel)
, IsNick(&DefaultIsNick)