summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/base.h4
-rw-r--r--include/channelmanager.h2
-rw-r--r--include/channels.h4
-rw-r--r--include/configreader.h6
-rw-r--r--include/mode.h4
-rw-r--r--include/snomasks.h2
-rw-r--r--include/socketengine.h2
-rw-r--r--include/threadengines/threadengine_pthread.h2
-rw-r--r--include/threadengines/threadengine_win32.h2
-rw-r--r--include/timer.h4
-rw-r--r--include/users.h4
11 files changed, 20 insertions, 16 deletions
diff --git a/include/base.h b/include/base.h
index fa4e5c002..6bcf76817 100644
--- a/include/base.h
+++ b/include/base.h
@@ -29,10 +29,6 @@ typedef std::map<std::string,char*> ExtensibleStore;
class CoreExport classbase
{
public:
- /** Time that the object was instantiated (used for TS calculation etc)
- */
- time_t age;
-
/** Constructor.
* Sets the object's time
*/
diff --git a/include/channelmanager.h b/include/channelmanager.h
index ea2c60282..a4a56b632 100644
--- a/include/channelmanager.h
+++ b/include/channelmanager.h
@@ -18,7 +18,7 @@
* the container which holds them. For some reason, nobody finished this.
* TODO: Finish in future release!
*/
-class CoreExport ChannelManager : public Extensible
+class CoreExport ChannelManager
{
private:
InspIRCd *ServerInstance;
diff --git a/include/channels.h b/include/channels.h
index 9b4bfb1a5..e471e30cb 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -136,6 +136,10 @@ class CoreExport Channel : public Extensible
*/
std::string name; /* CHANMAX */
+ /** Time that the object was instantiated (used for TS calculation etc)
+ */
+ time_t age;
+
/** Modes for the channel.
* This is not a null terminated string! It is a bitset where
* each item in it represents if a mode is set. For example
diff --git a/include/configreader.h b/include/configreader.h
index b5e6a887b..e70a1478a 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -42,7 +42,7 @@ typedef std::map<irc::string,std::string> opertype_t;
/** Holds an oper class.
*/
-struct operclass_data : public Extensible
+struct operclass_data : public classbase
{
/** Command list for the class
*/
@@ -68,7 +68,7 @@ typedef std::map<irc::string, operclass_data> operclass_t;
/** Defines the server's length limits on various length-limited
* items such as topics, nicknames, channel names etc.
*/
-class ServerLimits : public Extensible
+class ServerLimits
{
public:
/** Maximum nickname length */
@@ -119,7 +119,7 @@ class ServerLimits : public Extensible
* and storage of the configuration data needed to run the ircd, such as
* the servername, connect classes, /ADMIN data, MOTDs and filenames etc.
*/
-class CoreExport ServerConfig : public Extensible
+class CoreExport ServerConfig : public classbase
{
private:
/** Creator/owner pointer
diff --git a/include/mode.h b/include/mode.h
index cbb9b9e94..a5a510367 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -91,7 +91,7 @@ typedef std::pair<bool,std::string> ModePair;
* mode is expected to have a parameter, then this is
* equivalent to returning MODEACTION_DENY.
*/
-class CoreExport ModeHandler : public Extensible
+class CoreExport ModeHandler : public classbase
{
protected:
/**
@@ -345,7 +345,7 @@ class CoreExport SimpleChannelModeHandler : public ModeHandler
* and attach it to the mode using Server::AddModeWatcher and Server::DelModeWatcher.
* A ModeWatcher will be called both before and after the mode change.
*/
-class CoreExport ModeWatcher : public Extensible
+class CoreExport ModeWatcher : public classbase
{
protected:
/**
diff --git a/include/snomasks.h b/include/snomasks.h
index e1af1a109..c35fc92b7 100644
--- a/include/snomasks.h
+++ b/include/snomasks.h
@@ -49,7 +49,7 @@ typedef std::map<char, Snomask *> SnoList;
* Modules and the core can enable and disable snomask characters. If they do,
* then sending snomasks using these characters becomes possible.
*/
-class CoreExport SnomaskManager : public Extensible
+class CoreExport SnomaskManager
{
private:
/** Creator/owner
diff --git a/include/socketengine.h b/include/socketengine.h
index 16913972d..a191ff12d 100644
--- a/include/socketengine.h
+++ b/include/socketengine.h
@@ -174,7 +174,7 @@ class CoreExport EventHandler : public Extensible
* have to be aware of which SocketEngine derived
* class they are using.
*/
-class CoreExport SocketEngine : public Extensible
+class CoreExport SocketEngine
{
protected:
/** Owner/Creator
diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h
index bad263d18..79b00e629 100644
--- a/include/threadengines/threadengine_pthread.h
+++ b/include/threadengines/threadengine_pthread.h
@@ -31,7 +31,7 @@ class Thread;
* access non-threadsafe code from a Thread, use the Mutex class to wrap
* access to the code carefully.
*/
-class CoreExport ThreadEngine : public Extensible
+class CoreExport ThreadEngine
{
public:
diff --git a/include/threadengines/threadengine_win32.h b/include/threadengines/threadengine_win32.h
index 6bd1c2c00..64ad87ab8 100644
--- a/include/threadengines/threadengine_win32.h
+++ b/include/threadengines/threadengine_win32.h
@@ -30,7 +30,7 @@ class Thread;
* access non-threadsafe code from a Thread, use the Mutex class to wrap
* access to the code carefully.
*/
-class CoreExport ThreadEngine : public Extensible
+class CoreExport ThreadEngine
{
public:
diff --git a/include/timer.h b/include/timer.h
index 85755d654..05ce136d2 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -26,7 +26,7 @@
* your object (which you should override) will be called
* at the given time.
*/
-class CoreExport Timer : public Extensible
+class CoreExport Timer
{
private:
/** The triggering time
@@ -111,7 +111,7 @@ class CoreExport Timer : public Extensible
* This will ensure timers are not missed, as well as removing timers that have
* expired and allowing the addition of new ones.
*/
-class CoreExport TimerManager : public Extensible
+class CoreExport TimerManager
{
protected:
/** A list of all pending timers
diff --git a/include/users.h b/include/users.h
index 9023d7728..19d78ec23 100644
--- a/include/users.h
+++ b/include/users.h
@@ -339,6 +339,10 @@ class CoreExport User : public EventHandler
*/
time_t lastping;
+ /** Time that the object was instantiated (used for TS calculation etc)
+ */
+ time_t age;
+
/** Time the connection was created, set in the constructor. This
* may be different from the time the user's classbase object was
* created.