summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-17 18:52:39 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-17 18:52:39 +0000
commit9db7af579c46a9f0379fdf71fb773a0a76a94846 (patch)
tree95a4772fa266aa7f0f51ff4218da85cf2c9a13ff /include/modules.h
parent67a4a9b62355ea57a2f4521ca5fc53bd4eac3a1f (diff)
Make classbase and refcountbase uncopyable; expand comments on their indended uses
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h
index ef6f5c251..96506f598 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -230,7 +230,7 @@ do { \
* error when attempting to load a module compiled against a different API_VERSION.
*/
template<int api>
-class CoreExport VersionBase : public classbase
+class CoreExport VersionBase
{
public:
/** Module description
@@ -349,7 +349,7 @@ class ConfigReader;
* its methods will be called when irc server events occur. class inherited from module must be
* instantiated by the ModuleFactory class (see relevent section) for the module to be initialised.
*/
-class CoreExport Module : public Extensible
+class CoreExport Module : public classbase
{
public:
/** File that this module was loaded from
@@ -369,7 +369,7 @@ class CoreExport Module : public Extensible
/** Clean up prior to destruction
* If you override, you must call this AFTER your module's cleanup
*/
- virtual bool cull();
+ virtual CullResult cull();
/** Default destructor.
* destroys a module class