diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/base.cpp | 5 | ||||
-rw-r--r-- | src/inspircd.cpp | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/src/base.cpp b/src/base.cpp index 126e5b824..e79d336b7 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -27,6 +27,11 @@ const int bitfields[] = {1,2,4,8,16,32,64,128}; const int inverted_bitfields[] = {~1,~2,~4,~8,~16,~32,~64,~128}; +classbase::classbase() +{ + this->age = time(NULL); +} + bool Extensible::Shrink(const std::string &key) { /* map::size_type map::erase( const key_type& key ); diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 046b19f8c..0b56dad98 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1042,11 +1042,3 @@ time_t InspIRCd::Time() return TIME; } -classbase::classbase() -{ - /* This is in here only to make use of ServerInstance - * without using an ugly extern - */ - this->age = ServerInstance->Time(); -} - |