diff options
author | Adam <Adam@anope.org> | 2013-02-05 09:45:48 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-02-05 09:45:48 -0500 |
commit | 25cec015e8276ea6e1de3e290696071fa5c0b66f (patch) | |
tree | 536cf9ea6b424a550d0e912c49f8b0619892b5cf /modules/commands/cs_xop.cpp | |
parent | 62e3c8c4f8ccbba3cc6e62fb970d38be25a654e4 (diff) |
Made access del by nick and other functions from 326f1a really delete objects
Diffstat (limited to 'modules/commands/cs_xop.cpp')
-rw-r--r-- | modules/commands/cs_xop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp index 72197aeec..d0ad0a049 100644 --- a/modules/commands/cs_xop.cpp +++ b/modules/commands/cs_xop.cpp @@ -411,7 +411,7 @@ class XOPBase : public Command source.Reply(_("\002%s\002 deleted from %s %s list."), a->mask.c_str(), ci->name.c_str(), source.command.c_str()); FOREACH_MOD(I_OnAccessDel, OnAccessDel(ci, source, a)); - ci->EraseAccess(a); + a->Destroy(); return; } |