diff options
author | Adam <Adam@anope.org> | 2010-10-01 21:01:49 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-01 21:01:49 -0400 |
commit | d44f7971b129aa7ba80999f16f17b8c7499686e1 (patch) | |
tree | a86d08c3e641ed6b499b53b3bbb74e2a7f5b0dfb /include/modules.h | |
parent | 70056dd4689eeab4f7a9b31a921e0d7e40d5ed0d (diff) |
Rewrote some of the socket code to allow m_ssl to be a service.
This allows modules (xmlrpc) to create and accept SSL connections.
Also fixed unloading m_mysql at certain times and made the threading
engine always work correctly on Windows.
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/modules.h b/include/modules.h index 53cd81340..ab3472132 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1236,11 +1236,10 @@ class Service : public virtual Base template<typename T> class service_reference : public dynamic_reference<T> { - Module *owner; Anope::string name; public: - service_reference(Module *o, const Anope::string &n) : dynamic_reference<T>(static_cast<T *>(ModuleManager::GetService(this->name))), owner(o), name(n) + service_reference(const Anope::string &n) : dynamic_reference<T>(static_cast<T *>(ModuleManager::GetService(n))), name(n) { } @@ -1263,11 +1262,6 @@ class service_reference : public dynamic_reference<T> } return this->ref; } - - inline T *operator->() - { - return this->ref; - } }; struct Message |