diff options
| author | 2009-10-17 02:43:14 +0000 | |
|---|---|---|
| committer | 2009-10-17 02:43:14 +0000 | |
| commit | 8a13e4ebf7cb38008a87cd908d44161b216f5db9 (patch) | |
| tree | a31dd5359716a899c36f162791b50a070141e2e8 /include | |
| parent | Clean up excessive bits in User struct (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.h | 1 |
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 |
