diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 00:34:29 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 00:34:29 +0000 |
commit | d18d3f094cddedc6e6363f616eedb909eb02016a (patch) | |
tree | 0fafab8f507646bd3a5d6d49e525bda7d4ac64ed /src/core/cs_set.c | |
parent | b8c04482bbbe531e48bb1328d17db8acb1e323a0 (diff) |
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
Diffstat (limited to 'src/core/cs_set.c')
-rw-r--r-- | src/core/cs_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_set.c b/src/core/cs_set.c index a9e429f89..ca34c11c0 100644 --- a/src/core/cs_set.c +++ b/src/core/cs_set.c @@ -49,7 +49,7 @@ class CSSet : public Module moduleAddAuthor("Anope"); moduleAddVersion("$Id$"); - moduleSetType(CORE); + moduleSetType(this, CORE); c = createCommand("SET", do_set, NULL, CHAN_HELP_SET, -1, -1, CHAN_SERVADMIN_HELP_SET, CHAN_SERVADMIN_HELP_SET); moduleAddCommand(CHANSERV, c, MOD_UNIQUE); |