From 37fd031da06761c8a050105b55d73a8ab499fb74 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 13 Oct 2009 21:34:29 +0000 Subject: 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 --- include/inspircd.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/inspircd.h') 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 -- cgit v1.2.3