diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-13 21:34:29 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-13 21:34:29 +0000 |
commit | 37fd031da06761c8a050105b55d73a8ab499fb74 (patch) | |
tree | 6709b8882806cfe2a4dd20bdcd0aa5581344955e /include/inspircd.h | |
parent | 99064f734b9b1513c1d3b3792d6ea8102aae26e1 (diff) |
Remove Command and ModeHandler objects in their destructors; fixes possible pointer leak if a module was not careful when triggering exceptions in its constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11872 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 182d33c9c..700624892 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -727,12 +727,6 @@ class CoreExport InspIRCd : public classbase */ void RehashServer(); - /** Return the channel whos index number matches that provided - * @param The index number of the channel to fetch - * @return A channel record, or NUll if index < 0 or index >= InspIRCd::ChannelCount() - */ - Channel* GetChannelIndex(long index); - /** Dump text to a user target, splitting it appropriately to fit * @param User the user to dump the text to * @param LinePrefix text to prefix each complete line with |