X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fbase.h;h=bea7075a02e7e506dab3c148d135be7dc8356b74;hb=38ca8be9a3881a3cb3cf6864e67b779ffbab6874;hp=e41f520f54e75d19c83e38e0d13a4992ddc43fb2;hpb=ecec1067b45477c1a6f3908b4fc6ac0faa6cdbb1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/base.h b/include/base.h index e41f520f5..bea7075a0 100644 --- a/include/base.h +++ b/include/base.h @@ -2,12 +2,9 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * - * - * Written by Craig Edwards, Craig McLure, and others. + * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits + * * This program is free but copyrighted software; see * the file COPYING for details. * @@ -26,8 +23,8 @@ typedef void* VoidPointer; typedef std::map ExtensibleStore; -extern time_t TIME; - +class InspIRCd; + /** The base class for all inspircd classes */ class classbase @@ -40,7 +37,7 @@ class classbase /** Constructor, * Sets the object's time */ - classbase() { age = TIME; } + classbase(); ~classbase() { } }; @@ -79,7 +76,7 @@ public: */ return this->Extension_Items.insert(std::make_pair(key, (char*)p)).second; } - + /** Extend an Extensible class. * * @param key The key parameter is an arbitary string which identifies the extension data