diff options
| author | 2013-05-26 19:44:13 +0200 | |
|---|---|---|
| committer | 2013-09-08 17:11:08 +0200 | |
| commit | 992674362c5f64bdb8e1942eeaa7612524529cd6 (patch) | |
| tree | 8f29b37db626e0b81002cac48d0561ef998ec2f1 /src/modules/m_watch.cpp | |
| parent | Deduplicate code in modmanager_static and modmanager_dynamic (diff) | |
| download | inspircd++-992674362c5f64bdb8e1942eeaa7612524529cd6.tar.gz inspircd++-992674362c5f64bdb8e1942eeaa7612524529cd6.tar.bz2 inspircd++-992674362c5f64bdb8e1942eeaa7612524529cd6.zip | |
Automatically register ServiceProviders created by modules
Diffstat (limited to 'src/modules/m_watch.cpp')
| -rw-r--r-- | src/modules/m_watch.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index be1dcfc91..f1581ac02 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -374,13 +374,6 @@ class Modulewatch : public Module whos_watching_me = new watchentries(); } - void init() CXX11_OVERRIDE - { - ServerInstance->Modules->AddService(cmdw); - ServerInstance->Modules->AddService(sw); - ServerInstance->Modules->AddService(cmdw.ext); - } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { maxwatch = ServerInstance->Config->ConfValue("watch")->getInt("maxentries", 32); |
