summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-22 16:26:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-22 16:26:04 +0000
commitba878c4c5c5176c1cc42618aeafa8cc461a887af (patch)
tree3e56252ba22519c433bd8cfdba49ffa57ab70c53 /src/modules/m_ident.cpp
parent493aa4cbde991a9d2d8732631fe2d81b56b86eb6 (diff)
Delete idents when disconnecting?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5525 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 707193fc6..f4ffc0058 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -257,6 +257,8 @@ class ModuleIdent : public Module
// a user which has now vanished! To prevent this, set ident::u
// to NULL and check it so that we dont write users who have gone away.
ident->u = NULL;
+ ServerInstance->SE->DelFd(ident);
+ delete ident;
}
}
}
@@ -275,6 +277,8 @@ class ModuleIdent : public Module
if (user->GetExt("ident_data", ident))
{
ident->u = NULL;
+ ServerInstance->SE->DelFd(ident);
+ delete ident;
}
}