diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-18 18:31:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-18 18:31:03 +0000 |
commit | acf64694a6de7f580f0dc636fbc3788a6dc2ac2a (patch) | |
tree | 9a5f16f66e7a245e47748d80c7adbe2ee30b290d /src/inspircd.cpp | |
parent | 21b698e39f158c02797cd21f7f0da845e6d411fb (diff) |
Allow adding of new client ports via /REHASH.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3731 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index e7dfeb9c2..9ffc14cf7 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -196,15 +196,15 @@ InspIRCd::InspIRCd(int argc, char** argv) this->MakeLowerMap(); OpenLog(argv, argc); + this->stats = new serverstats(); Config->ClearStack(); Config->Read(true,NULL); CheckRoot(); this->ModeGrok = new ModeParser(); this->Parser = new CommandParser(); - this->stats = new serverstats(); AddServerName(Config->ServerName); CheckDie(); - stats->BoundPortCount = BindPorts(); + stats->BoundPortCount = BindPorts(true); for(int t = 0; t < 255; t++) Config->global_implementation[t] = 0; |