From f025d1b495cee3aadb6b7b45652d1cab3b7b7b6d Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 25 Aug 2011 16:21:21 -0400 Subject: Made service_reference type safe --- modules/commands/ns_resetpass.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/commands/ns_resetpass.cpp') diff --git a/modules/commands/ns_resetpass.cpp b/modules/commands/ns_resetpass.cpp index 400be41f9..153691cdf 100644 --- a/modules/commands/ns_resetpass.cpp +++ b/modules/commands/ns_resetpass.cpp @@ -69,7 +69,6 @@ class NSResetPass : public Module if (!Config->UseMail) throw ModuleException("Not using mail."); - ModuleManager::RegisterService(&commandnsresetpass); ModuleManager::Attach(I_OnPreCommand, this); } -- cgit