summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-17 02:43:14 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-17 02:43:14 +0000
commit8a13e4ebf7cb38008a87cd908d44161b216f5db9 (patch)
treea31dd5359716a899c36f162791b50a070141e2e8 /include
parentc80a20b5a789f4c2079fe10da89a4095e179a35b (diff)
Add ModeHandler::cull() for auto-deletion, fixes call of virtual method on partially-destructed object
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11883 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/mode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h
index a9b0da656..81858a823 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -172,6 +172,7 @@ class CoreExport ModeHandler : public classbase
* @param type Type of the mode (MODETYPE_USER or MODETYPE_CHANNEL)
*/
ModeHandler(Module* me, const std::string& name, char modeletter, ParamSpec params, ModeType type);
+ virtual bool cull();
virtual ~ModeHandler();
/**
* Returns true if the mode is a list mode