summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-05-10 17:53:53 -0400
committerAdam <Adam@anope.org>2012-05-10 17:53:53 -0400
commit9370b063d0d8ecdd479370ee8c1d7946fbcad4be (patch)
tree6203d66dc991e310b2c071ec4dc812c7566c8a11 /src/regchannel.cpp
parentd5ffae0e46a822ea358a8a87ea6910c5f2532bf7 (diff)
Fixed crash on access del + valgrind errors
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index b113dfb2e..99554a6d5 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -638,7 +638,6 @@ void ChannelInfo::EraseAccess(const ChanAccess *taccess)
{
if (this->GetAccess(i) == taccess)
{
- this->GetAccess(i)->destroy();
this->EraseAccess(i);
break;
}