]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/base.h
Add third parameter to OnUserQuit (quit reason for opers only) - bump api version
[user/henk/code/inspircd.git] / include / base.h
index e41f520f54e75d19c83e38e0d13a4992ddc43fb2..bea7075a02e7e506dab3c148d135be7dc8356b74 100644 (file)
@@ -2,12 +2,9 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *                <Craig@chatspike.net>
- *     
- * 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<std::string,char*> 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