diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-08 02:49:23 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-08 02:49:23 +0000 |
commit | 390fa24e97ecc6b547ba599c6a3e1483c6522ab7 (patch) | |
tree | cdaeebabe0fb24123000a90ce5ec37ecc4262968 /src | |
parent | 65d60dd9acdb135b61d29339f634c18ee16fd5f4 (diff) |
Try without deletes that it done anyway on close of InspSocket's socket.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6548 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_ident.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 338535ad8..a2574a19f 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -185,7 +185,7 @@ class ModuleIdent : public Module { ConfigReader* Conf; - + int IdentTimeout; public: @@ -201,7 +201,7 @@ class ModuleIdent : public Module ModuleIdent(InspIRCd* Me) : Module::Module(Me) { - + ReadSettings(); } @@ -236,7 +236,7 @@ class ModuleIdent : public Module strcpy(newident,"~"); strlcat(newident,user->ident,IDENTMAX); strlcpy(user->ident,newident,IDENTMAX); - delete ident; + //delete ident; } return 0; } @@ -266,7 +266,7 @@ 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; + //delete ident; } } } @@ -286,19 +286,19 @@ class ModuleIdent : public Module { ident->u = NULL; ServerInstance->SE->DelFd(ident); - delete ident; + //delete ident; } } - + virtual ~ModuleIdent() { } - + virtual Version GetVersion() { return Version(1,1,0,0,VF_VENDOR,API_VERSION); } - + }; class ModuleIdentFactory : public ModuleFactory @@ -307,16 +307,16 @@ class ModuleIdentFactory : public ModuleFactory ModuleIdentFactory() { } - + ~ModuleIdentFactory() { } - + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleIdent(Me); } - + }; |