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/modules/cs_enforce.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/modules/cs_enforce.c')
-rw-r--r-- | src/modules/cs_enforce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c index 971dacc35..7a353c57f 100644 --- a/src/modules/cs_enforce.c +++ b/src/modules/cs_enforce.c @@ -41,7 +41,7 @@ class CSEnforce : public Module moduleAddAuthor(AUTHOR); moduleAddVersion(VERSION); - moduleSetType(SUPPORTED); + moduleSetType(this, SUPPORTED); c = createCommand("ENFORCE", my_cs_enforce, NULL, -1, -1, -1, -1, -1); moduleAddCommand(CHANSERV, c, MOD_HEAD); |