diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-05 16:49:06 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-05 16:49:06 +0000 |
commit | d396355d3e594544a4760f3e7d4e7c75a02430a8 (patch) | |
tree | 133d64d9dc155d5227483ede13bd398b51039160 /src/inspircd.cpp | |
parent | 1b93cf63e3bcfbb8168fe40fc116fe01fc306a5f (diff) |
Refactored InspIRCd::Duration(). The leetcode now lives!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index bcfc92c48..52aeddf04 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -352,7 +352,7 @@ std::string InspIRCd::GetRevision() } InspIRCd::InspIRCd(int argc, char** argv) - : ModCount(-1), duration_m(60), duration_h(60*60), duration_d(60*60*24), duration_w(60*60*24*7), duration_y(60*60*24*365), GlobalCulls(this) + : ModCount(-1), GlobalCulls(this) { #ifdef WINDOWS ClearConsole(); |