diff options
author | Adam <Adam@anope.org> | 2011-08-25 16:21:21 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 01:58:38 -0400 |
commit | f025d1b495cee3aadb6b7b45652d1cab3b7b7b6d (patch) | |
tree | 02df5a3f12104996af87d1b6c5ec9db9d45b6bde /modules/extra/m_ldap.cpp | |
parent | 8c4417cad180f3c5448c5b7509b1bf2235e3077e (diff) |
Made service_reference type safe
Diffstat (limited to 'modules/extra/m_ldap.cpp')
-rw-r--r-- | modules/extra/m_ldap.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/extra/m_ldap.cpp b/modules/extra/m_ldap.cpp index 2be07ff05..e1e58417c 100644 --- a/modules/extra/m_ldap.cpp +++ b/modules/extra/m_ldap.cpp @@ -328,12 +328,6 @@ class LDAPService : public LDAPProvider, public Thread, public Condition me->Notify(); } } - - void SetExitState() - { - ModuleManager::UnregisterService(this); - Thread::SetExitState(); - } }; class ModuleLDAP : public Module, public Pipe @@ -407,7 +401,6 @@ class ModuleLDAP : public Module, public Pipe { LDAPService *ss = new LDAPService(this, connname, server, port, admin_binddn, admin_password); this->LDAPServices.insert(std::make_pair(connname, ss)); - ModuleManager::RegisterService(ss); Log(LOG_NORMAL, "ldap") << "LDAP: Successfully connected to server " << connname << " (" << server << ")"; } |