From d18d3f094cddedc6e6363f616eedb909eb02016a Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Sat, 8 Nov 2008 00:34:29 +0000 Subject: Convert moduleSetType() to not require a module pointer.. actually, this is probably the wrong way to go about this (we should use a member func), but who cares for now. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1580 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ns_suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ns_suspend.c') diff --git a/src/core/ns_suspend.c b/src/core/ns_suspend.c index 4dc39c133..bf4b93410 100644 --- a/src/core/ns_suspend.c +++ b/src/core/ns_suspend.c @@ -28,7 +28,7 @@ class NSSuspend : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); c = createCommand("SUSPEND", do_suspend, is_services_oper, -1, -1, -1, NICK_SERVADMIN_HELP_SUSPEND, NICK_SERVADMIN_HELP_SUSPEND); moduleAddCommand(NICKSERV, c, MOD_UNIQUE); -- cgit