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/os_global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/os_global.c') diff --git a/src/core/os_global.c b/src/core/os_global.c index 15f771fee..64221dff6 100644 --- a/src/core/os_global.c +++ b/src/core/os_global.c @@ -27,7 +27,7 @@ class OSGlobal : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); c = createCommand("GLOBAL", do_global, is_services_admin, OPER_HELP_GLOBAL, -1, -1, -1, -1); c->help_param1 = s_GlobalNoticer; -- cgit