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_kick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/os_kick.c') diff --git a/src/core/os_kick.c b/src/core/os_kick.c index 69ebad838..ec29c0a4d 100644 --- a/src/core/os_kick.c +++ b/src/core/os_kick.c @@ -27,7 +27,7 @@ class OSKick : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); c = createCommand("KICK", do_os_kick, is_services_oper, OPER_HELP_KICK, -1, -1, -1, -1); moduleAddCommand(OPERSERV, c, MOD_UNIQUE); -- cgit