]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ident.cpp
Fix potential for duplicate SID if the SID is auto generated.
[user/henk/code/inspircd.git] / src / modules / m_ident.cpp
index 732c2eaee99b186c128f5b521815caa22bdee5cd..0fef4d33b984a33c22108c090edffbcf58b6ffca 100644 (file)
@@ -12,9 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 
 /* $ModDesc: Provides support for RFC 1413 ident lookups */
 
@@ -279,7 +276,6 @@ class ModuleIdent : public Module
                                // to NULL and check it so that we dont write users who have gone away.
                                ident->u = NULL;
                                ServerInstance->SE->DelFd(ident);
-                               //delete ident;
                        }
                        if (user->GetExt("IDENT", identstr))
                        {