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_set_misc.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/commands/ns_set_misc.cpp') diff --git a/modules/commands/ns_set_misc.cpp b/modules/commands/ns_set_misc.cpp index 769dff9de..c511159d2 100644 --- a/modules/commands/ns_set_misc.cpp +++ b/modules/commands/ns_set_misc.cpp @@ -78,8 +78,6 @@ class NSSetMisc : public Module Implementation i[] = { I_OnNickInfo, I_OnDatabaseWriteMetadata, I_OnDatabaseReadMetadata }; ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); - ModuleManager::RegisterService(&this->commandnssetmisc); - ModuleManager::RegisterService(&this->commandnssasetmisc); } void OnNickInfo(CommandSource &source, NickAlias *na, bool ShowHidden) -- cgit