summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 19:02:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 19:02:06 +0000
commitac39617c087139f2d89aeb9e36565139b4410672 (patch)
tree4784bebe031e02d1c774047e77425993254169f9
parent62b550f653ca674bb84eaac77fcdbc4bfc84f135 (diff)
Inherit just about everything from classbase
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/aes.h2
-rw-r--r--include/base.h2
-rw-r--r--include/command_parse.h2
-rw-r--r--include/cull_list.h4
-rw-r--r--src/modules/extra/m_sqlv2.h2
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
-rw-r--r--src/modules/m_alias.cpp2
-rw-r--r--src/modules/m_blockamsg.cpp2
-rw-r--r--src/modules/m_cban.cpp2
-rw-r--r--src/modules/m_filter.cpp2
-rw-r--r--src/modules/m_hostchange.cpp2
-rw-r--r--src/modules/m_joinflood.cpp2
-rw-r--r--src/modules/m_messageflood.cpp2
-rw-r--r--src/modules/m_spanningtree.cpp2
15 files changed, 16 insertions, 16 deletions
diff --git a/include/aes.h b/include/aes.h
index 114d882fe..d2616b6d3 100644
--- a/include/aes.h
+++ b/include/aes.h
@@ -7,7 +7,7 @@ using namespace std;
/** The AES class is a utility class for use in modules and the core for encryption of data.
*/
-class AES
+class AES : public classbase
{
public:
enum { ECB=0, CBC=1, CFB=2 };
diff --git a/include/base.h b/include/base.h
index b808af398..d458021f6 100644
--- a/include/base.h
+++ b/include/base.h
@@ -118,7 +118,7 @@ public:
* Use BoolSet::Set and BoolSet::Get to set and get bools in the bitmask,
* and Unset and Invert for special operations upon them.
*/
-class BoolSet
+class BoolSet : public classbase
{
char bits;
diff --git a/include/command_parse.h b/include/command_parse.h
index 310427036..838915dff 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -24,7 +24,7 @@
#include "ctables.h"
#include "typedefs.h"
-class CommandParser
+class CommandParser : public classbase
{
private:
int ProcessParameters(char **command_p,char *parameters);
diff --git a/include/cull_list.h b/include/cull_list.h
index 72b5d3f55..adc9fe8d5 100644
--- a/include/cull_list.h
+++ b/include/cull_list.h
@@ -33,7 +33,7 @@
* a list of users which are to be culled when a long
* operation (such as a netsplit) has completed.
*/
-class CullItem
+class CullItem : public classbase
{
private:
/** Holds a pointer to the user,
@@ -76,7 +76,7 @@ class CullItem
* you attempt to add the same user twice, then the second
* attempt will be ignored.
*/
-class CullList
+class CullList : public classbase
{
private:
/** Holds a list of users being quit.
diff --git a/src/modules/extra/m_sqlv2.h b/src/modules/extra/m_sqlv2.h
index 5faa76cc2..ed5f96ab5 100644
--- a/src/modules/extra/m_sqlv2.h
+++ b/src/modules/extra/m_sqlv2.h
@@ -10,7 +10,7 @@
enum SQLerrorNum { NO_ERROR, BAD_DBID, BAD_CONN, QSEND_FAIL };
-class SQLerror
+class SQLerror : public classbase
{
SQLerrorNum id;
std::string str;
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index b34f5c2f0..2ab89533c 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -27,7 +27,7 @@ bool isin(int port, const std::vector<int> &portlist)
return false;
}
-class issl_session
+class issl_session : public classbase
{
public:
gnutls_session_t sess;
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 02743c85d..e75be170d 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -34,7 +34,7 @@ char* get_error()
return ERR_error_string(ERR_get_error(), NULL);
}
-class issl_session
+class issl_session : public classbase
{
public:
SSL* sess;
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index a816f7235..d218777af 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -24,7 +24,7 @@ using namespace std;
/* $ModDesc: Provides aliases of commands. */
-class Alias
+class Alias : public classbase
{
public:
irc::string text;
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp
index fd28625d2..24b3deb85 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -32,7 +32,7 @@ extern time_t TIME;
enum BlockAction { IBLOCK_KILL, IBLOCK_KILLOPERS, IBLOCK_NOTICE, IBLOCK_NOTICEOPERS, IBLOCK_SILENT };
-class BlockedMessage
+class BlockedMessage : public classbase
{
public:
std::string message;
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp
index fd6a92c22..10e71df7b 100644
--- a/src/modules/m_cban.cpp
+++ b/src/modules/m_cban.cpp
@@ -27,7 +27,7 @@
/* $ModDesc: Gives /cban, aka C:lines. Think Q:lines, for channels. */
-class CBan
+class CBan : public classbase
{
public:
irc::string chname;
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index d183ce2f7..1fd3bde92 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -29,7 +29,7 @@ using namespace std;
/* $ModDesc: An enhanced version of the unreal m_filter.so used by chatspike.net */
-class Filter
+class Filter : public classbase
{
public:
std::string reason;
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 1dc280266..de485b2c0 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -24,7 +24,7 @@ using namespace std;
/* $ModDesc: Provides masking of user hostnames in a different way to m_cloaking */
-class Host
+class Host : public classbase
{
public:
std::string action;
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index ac966cc39..33b6b8b61 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -25,7 +25,7 @@ using namespace std;
/* $ModDesc: Provides channel mode +j (join flood protection) */
-class joinfloodsettings
+class joinfloodsettings : public classbase
{
public:
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index b41c71da9..8f310f4b2 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -25,7 +25,7 @@ using namespace std;
/* $ModDesc: Provides channel mode +f (message flood protection) */
-class floodsettings
+class floodsettings : public classbase
{
public:
bool ban;
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 5ae16c50d..1fb645dec 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -501,7 +501,7 @@ class TreeServer : public classbase
* of them, and populate the list on rehash/load.
*/
-class Link
+class Link : public classbase
{
public:
irc::string Name;