From 4f946291b7fd022b50fe5aacb9b851cebfbb2278 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 Mar 2008 16:53:34 +0000 Subject: 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 --- include/configreader.h | 2 +- include/dns.h | 2 +- include/hashcomp.h | 6 +++--- include/snomasks.h | 2 +- include/xline.h | 4 ++-- src/modules/account.h | 2 +- src/modules/httpd.h | 2 +- src/modules/m_banredirect.cpp | 2 +- src/modules/m_callerid.cpp | 2 +- src/modules/m_cap.h | 2 +- src/modules/m_dccallow.cpp | 4 ++-- src/modules/m_dnsbl.cpp | 2 +- src/modules/m_sasl.cpp | 2 +- src/modules/m_spanningtree/utils.h | 2 +- src/modules/transport.h | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/include/configreader.h b/include/configreader.h index f47c6680e..3d48759a7 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -203,7 +203,7 @@ struct MultiConfig */ typedef std::map opertype_t; -struct operclass_data +struct operclass_data : public Extensible { char* commandlist; char* cmodelist; diff --git a/include/dns.h b/include/dns.h index 09ba10d25..d4005dea8 100644 --- a/include/dns.h +++ b/include/dns.h @@ -72,7 +72,7 @@ typedef std::pair DNSInfo; /** Cached item stored in the query cache. */ -class CoreExport CachedQuery +class CoreExport CachedQuery : public classbase { public: /** The cached result data, an IP or hostname diff --git a/include/hashcomp.h b/include/hashcomp.h index ed285c783..4eb65823d 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -132,7 +132,7 @@ namespace irc * std::string, or a const char* const* array, using overloaded * constructors. */ - class CoreExport stringjoiner + class CoreExport stringjoiner : public classbase { private: /** Output string @@ -171,7 +171,7 @@ namespace irc * It can then reproduce this list, clamped to a maximum of MAXMODES * values per line. */ - class CoreExport modestacker + class CoreExport modestacker : public classbase { private: /** The mode sequence and its parameters @@ -242,7 +242,7 @@ namespace irc * list will be ":item". This is to allow for parsing 'source' fields * from data. */ - class CoreExport tokenstream + class CoreExport tokenstream : public classbase { private: /** Original string diff --git a/include/snomasks.h b/include/snomasks.h index 77bed517a..9541715e3 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -14,7 +14,7 @@ #ifndef __SNOMASKS_H__ #define __SNOMASKS_H__ -class Snomask +class Snomask : public Extensible { private: InspIRCd *ServerInstance; diff --git a/include/xline.h b/include/xline.h index 6d11256f2..2670f4bab 100644 --- a/include/xline.h +++ b/include/xline.h @@ -385,7 +385,7 @@ typedef std::pair IdentHostPair; * does not have to know the specifics of the internals of an XLine class * and/or how to call its constructor. */ -class CoreExport XLineFactory +class CoreExport XLineFactory : public classbase { protected: @@ -455,7 +455,7 @@ typedef XLineLookup::iterator LookupIter; * or any other line created by a module. It also manages XLineFactory classes which * can generate a specialized XLine for use by another module. */ -class CoreExport XLineManager +class CoreExport XLineManager : public classbase { protected: /** The owner/creator of this class 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 #include -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 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 #include -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 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 */ -- cgit v1.2.3