summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index bc968e87e..f39ba03bc 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -425,6 +425,10 @@ InspIRCd::InspIRCd(int argc, char** argv)
Exit(EXIT_STATUS_LOG);
}
+ /* set up fake client */
+ this->FakeClient = new userrec(this);
+ this->FakeClient->SetFd(FD_MAGIC_NUMBER);
+
this->stats = new serverstats();
this->Timers = new TimerManager(this);
this->Parser = new CommandParser(this);