summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-24 16:53:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-24 16:53:34 +0000
commit4f946291b7fd022b50fe5aacb9b851cebfbb2278 (patch)
tree4ecd5744561947da9c0b63ae4bf81b11eceb3f8a /src/modules
parentd1b20f95198858c0ffd2974fb7fd622a0d945a81 (diff)
A load of classes dont inherit from classbase, and they should. fix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9191 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/account.h2
-rw-r--r--src/modules/httpd.h2
-rw-r--r--src/modules/m_banredirect.cpp2
-rw-r--r--src/modules/m_callerid.cpp2
-rw-r--r--src/modules/m_cap.h2
-rw-r--r--src/modules/m_dccallow.cpp4
-rw-r--r--src/modules/m_dnsbl.cpp2
-rw-r--r--src/modules/m_sasl.cpp2
-rw-r--r--src/modules/m_spanningtree/utils.h2
-rw-r--r--src/modules/transport.h2
10 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/account.h b/src/modules/account.h
index 833fe7aee..c3057e6d4 100644
--- a/src/modules/account.h
+++ b/src/modules/account.h
@@ -17,7 +17,7 @@
#include <map>
#include <string>
-class AccountData
+class AccountData : public classbase
{
public:
User* user;
diff --git a/src/modules/httpd.h b/src/modules/httpd.h
index 59e099f80..a1eff6b63 100644
--- a/src/modules/httpd.h
+++ b/src/modules/httpd.h
@@ -22,7 +22,7 @@
/** A modifyable list of HTTP header fields
*/
-class HTTPHeaders
+class HTTPHeaders : public classbase
{
protected:
std::map<std::string,std::string> headers;
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp
index f0b139031..047c55e7f 100644
--- a/src/modules/m_banredirect.cpp
+++ b/src/modules/m_banredirect.cpp
@@ -19,7 +19,7 @@
/* Originally written by Om, January 2008
*/
-class BanRedirectEntry
+class BanRedirectEntry : public classbase
{
public:
std::string targetchan;
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index f38c22d79..e3dc6b353 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -7,7 +7,7 @@
/* $ModDesc: Implementation of callerid (umode +g & /accept, ala hybrid etc) */
-class callerid_data
+class callerid_data : public classbase
{
public:
time_t lastnotify;
diff --git a/src/modules/m_cap.h b/src/modules/m_cap.h
index 5c91abc32..341e208ca 100644
--- a/src/modules/m_cap.h
+++ b/src/modules/m_cap.h
@@ -17,7 +17,7 @@
#include <map>
#include <string>
-class CapData
+class CapData : public classbase
{
public:
irc::string type;
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index 96e0798f5..4bfdf0c9f 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -17,14 +17,14 @@
static ConfigReader *Conf;
-class BannedFileList
+class BannedFileList : public classbase
{
public:
std::string filemask;
std::string action;
};
-class DCCAllow
+class DCCAllow : public classbase
{
public:
std::string nickname;
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index 1c6939220..6b11e7252 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -24,7 +24,7 @@
/* $ModDesc: Provides handling of DNS blacklists */
/* Class holding data for a single entry */
-class DNSBLConfEntry
+class DNSBLConfEntry : public classbase
{
public:
enum EnumBanaction { I_UNKNOWN, I_KILL, I_ZLINE, I_KLINE, I_GLINE };
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 5bfcab016..a035c8ec6 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -23,7 +23,7 @@ enum SaslResult { SASL_OK, SASL_FAIL, SASL_ABORT };
/**
* Tracks SASL authentication state like charybdis does. --nenolod
*/
-class SaslAuthenticator
+class SaslAuthenticator : public classbase
{
private:
InspIRCd *ServerInstance;
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h
index c824b75ed..db61fd7aa 100644
--- a/src/modules/m_spanningtree/utils.h
+++ b/src/modules/m_spanningtree/utils.h
@@ -41,7 +41,7 @@ typedef std::map<irc::string, Module*> hookmodules;
/** Contains helper functions and variables for this module,
* and keeps them out of the global namespace
*/
-class SpanningTreeUtilities
+class SpanningTreeUtilities : public classbase
{
private:
/** Creator server
diff --git a/src/modules/transport.h b/src/modules/transport.h
index d39bf717a..1544b73e7 100644
--- a/src/modules/transport.h
+++ b/src/modules/transport.h
@@ -34,7 +34,7 @@ typedef ssl_data::iterator ssl_data_iter;
* connected local users using Extensible::Extend() and the
* key 'ssl_cert'.
*/
-class ssl_cert
+class ssl_cert : public Extensible
{
/** Always contains an empty string
*/