summaryrefslogtreecommitdiff
path: root/modules/commands/cs_access.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-02-05 09:45:48 -0500
committerAdam <Adam@anope.org>2013-02-05 09:45:48 -0500
commit25cec015e8276ea6e1de3e290696071fa5c0b66f (patch)
tree536cf9ea6b424a550d0e912c49f8b0619892b5cf /modules/commands/cs_access.cpp
parent62e3c8c4f8ccbba3cc6e62fb970d38be25a654e4 (diff)
Made access del by nick and other functions from 326f1a really delete objects
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r--modules/commands/cs_access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index 5cbe3024e..28e5fbf7b 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -286,7 +286,7 @@ class CommandCSAccess : public Command
Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to delete " << access->mask;
FOREACH_MOD(I_OnAccessDel, OnAccessDel(ci, source, access));
- ci->EraseAccess(access);
+ access->Destroy();
}
return;
}