summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 6ec46883f..32ae87389 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -156,7 +156,6 @@ bool LocalUser::RemoveInvite(Channel* chan)
Invitation* inv = Invitation::Find(chan, this);
if (inv)
{
- inv->cull();
delete inv;
return true;
}