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 --- 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 +- 10 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/modules') 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