From 9db7af579c46a9f0379fdf71fb773a0a76a94846 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 17 Oct 2009 18:52:39 +0000 Subject: 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 --- include/modules.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/modules.h') 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 -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 -- cgit v1.2.3