From 0675ffde8d774d9213ca2323faa9fce36c19bf74 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 6 Feb 2010 19:20:10 +0000 Subject: Add PROP command to m_namedmodes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12388 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_check.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/modules/m_check.cpp') 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() -- cgit v1.3.1-10-gc9f91