diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/service.cpp | 11 | ||||
-rw-r--r-- | src/service_manager.cpp | 15 |
2 files changed, 0 insertions, 26 deletions
diff --git a/src/service.cpp b/src/service.cpp index 865c479df..9e99d0cad 100644 --- a/src/service.cpp +++ b/src/service.cpp @@ -65,14 +65,3 @@ Service::~Service() ServiceManager::Get()->Unregister(this); } -ServiceAlias::ServiceAlias(const Anope::string &type, const Anope::string &from, const Anope::string &to) : t(type), f(from) -{ - ServiceManager::Get()->AddAlias(type, from, to); -} - -ServiceAlias::~ServiceAlias() -{ - ServiceManager::Get()->DelAlias(t, f); -} - - diff --git a/src/service_manager.cpp b/src/service_manager.cpp index 322cdc31f..ef26fb13b 100644 --- a/src/service_manager.cpp +++ b/src/service_manager.cpp @@ -68,21 +68,6 @@ std::vector<Service *> ServiceManager::FindServices(const Anope::string &type) return v; } -void ServiceManager::AddAlias(const Anope::string &t, const Anope::string &n, const Anope::string &v) -{ -#warning "aliases dont work" -// std::map<Anope::string, Anope::string> &smap = aliases[t]; -// smap[n] = v; -} - -void ServiceManager::DelAlias(const Anope::string &t, const Anope::string &n) -{ -// std::map<Anope::string, Anope::string> &smap = aliases[t]; -// smap.erase(n); -// if (smap.empty()) -// aliases.erase(t); -} - void ServiceManager::Register(Service *service) { // assert type |