summaryrefslogtreecommitdiff
path: root/modules/pseudoclients
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pseudoclients')
-rw-r--r--modules/pseudoclients/chanserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp
index 2f7147cc6..b7fb67daf 100644
--- a/modules/pseudoclients/chanserv.cpp
+++ b/modules/pseudoclients/chanserv.cpp
@@ -182,7 +182,7 @@ class ChanServCore : public Module, public ChanServService
if (anc && anc == nc)
{
- ci->EraseAccess(j);
+ delete ci->EraseAccess(j);
break;
}
}