From 7775a195d9c417e52eaaf912ec51d62bf0fd9a54 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 15:14:39 +0000 Subject: 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 --- src/inspircd.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/inspircd.cpp') 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(); -- cgit v1.3.1-10-gc9f91