diff options
| author | 2006-08-11 15:14:39 +0000 | |
|---|---|---|
| committer | 2006-08-11 15:14:39 +0000 | |
| commit | 7775a195d9c417e52eaaf912ec51d62bf0fd9a54 (patch) | |
| tree | 7ebb40e491e247a94be9c463fb3f656cdc43a136 /src/inspircd.cpp | |
| parent | So is this one ;-ppp (diff) | |
| download | inspircd++-7775a195d9c417e52eaaf912ec51d62bf0fd9a54.tar.gz inspircd++-7775a195d9c417e52eaaf912ec51d62bf0fd9a54.tar.bz2 inspircd++-7775a195d9c417e52eaaf912ec51d62bf0fd9a54.zip | |
Move remaining functions:
operstrcmp* commands.cpp InspIRCd::operstrcmp()
duration* commands.cpp InspIRCd::duration()
host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone()
ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone()
nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 29148defe..8680c4197 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -190,14 +190,15 @@ std::string InspIRCd::GetRevision() return REVISION; } -InspIRCd::InspIRCd(int argc, char** argv) : ModCount(-1) +InspIRCd::InspIRCd(int argc, char** argv) + : duration_m(60), duration_h(60*60), duration_d(60*60*24), duration_w(60*60*24*7), duration_y(60*60*24*365), ModCount(-1) { bool SEGVHandler = false; ServerInstance = this; modules.resize(255); factory.resize(255); - + this->Config = new ServerConfig(this); this->Start(); this->module_sockets.clear(); |
