diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-11 06:03:25 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-11 06:03:25 +0000 |
commit | b9190ebc16253254cb649faae76119eec3e14b8e (patch) | |
tree | e1cc12269825f020a14877be1ecfbfa959781710 /src/core/cs_drop.c | |
parent | 86e43f1f144cfd04b039a844959af1f7aec3e6da (diff) |
Moved alot of stuff to constructors and destructors, instead of having functions everywhere to create and destroy objects
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2639 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_drop.c')
-rw-r--r-- | src/core/cs_drop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c index 7de9b7327..5d4c43bfb 100644 --- a/src/core/cs_drop.c +++ b/src/core/cs_drop.c @@ -75,7 +75,7 @@ class CommandCSDrop : public Command s_ChanServ, ci->name, u->nick, u->GetIdent().c_str(), u->host, (ci->founder ? ci->founder->display : "(none)")); - delchan(ci); + delete ci; /* We must make sure that the Services admin has not normally the right to * drop the channel before issuing the wallops. |