diff options
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r-- | src/modules/m_ident.cpp | 4 |
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; } } |