diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-06 19:20:10 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-06 19:20:10 +0000 |
commit | 0675ffde8d774d9213ca2323faa9fce36c19bf74 (patch) | |
tree | 1027638491e7918ae2ccb6e55942c7a7325d063a /src/modules/m_check.cpp | |
parent | c2a3ebea46f3527e0680f1258725f95ff13f0880 (diff) |
Add PROP command to m_namedmodes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12388 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r-- | src/modules/m_check.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index c1af8ead2..6f89f8cf4 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -250,7 +250,11 @@ class ModuleCheck : public Module public: ModuleCheck() : mycommand(this) { - ServerInstance->AddCommand(&mycommand); + } + + void init() + { + ServerInstance->Modules->AddService(mycommand); } ~ModuleCheck() |