summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/bs_fantasy_unban.c2
-rw-r--r--src/modules/cs_appendtopic.c2
-rw-r--r--src/modules/cs_enforce.c2
-rw-r--r--src/modules/cs_tban.c2
-rw-r--r--src/modules/hs_request.c2
-rw-r--r--src/modules/ns_maxemail.c2
-rw-r--r--src/modules/ns_noop_convert.c2
-rw-r--r--src/modules/os_ignore_db.c2
-rw-r--r--src/modules/os_info.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/bs_fantasy_unban.c b/src/modules/bs_fantasy_unban.c
index 3324ee169..e1bf22096 100644
--- a/src/modules/bs_fantasy_unban.c
+++ b/src/modules/bs_fantasy_unban.c
@@ -26,7 +26,7 @@ class BSFantasyUnban : public Module
moduleAddAuthor("Anope");
moduleAddVersion("$Id$");
- moduleSetType(CORE);
+ moduleSetType(this, CORE);
hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy);
moduleAddEventHook(hook);
diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c
index 06860d18b..7c0144e5b 100644
--- a/src/modules/cs_appendtopic.c
+++ b/src/modules/cs_appendtopic.c
@@ -62,7 +62,7 @@ class CSAppendTopic : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(SUPPORTED);
+ moduleSetType(this, SUPPORTED);
c = createCommand("APPENDTOPIC", my_cs_appendtopic, NULL, -1, -1, -1, -1, -1);
moduleAddCommand(CHANSERV, c, MOD_HEAD);
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);
diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c
index 4f90074e3..03bc2f019 100644
--- a/src/modules/cs_tban.c
+++ b/src/modules/cs_tban.c
@@ -55,7 +55,7 @@ class CSTBan : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(SUPPORTED);
+ moduleSetType(this, SUPPORTED);
}
};
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index 16135568b..eee65f2ef 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -122,7 +122,7 @@ class HSRequest : public Module
moduleSetHostHelp(hs_help);
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(SUPPORTED);
+ moduleSetType(this, SUPPORTED);
my_load_config();
my_add_languages();
diff --git a/src/modules/ns_maxemail.c b/src/modules/ns_maxemail.c
index cd27556e3..5e8d621de 100644
--- a/src/modules/ns_maxemail.c
+++ b/src/modules/ns_maxemail.c
@@ -41,7 +41,7 @@ class NSMaxEmail : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(SUPPORTED);
+ moduleSetType(this, SUPPORTED);
c = createCommand("REGISTER", my_ns_register, NULL, -1, -1, -1, -1, -1);
moduleAddCommand(NICKSERV, c, MOD_HEAD);
diff --git a/src/modules/ns_noop_convert.c b/src/modules/ns_noop_convert.c
index 2a8a206ce..576d01486 100644
--- a/src/modules/ns_noop_convert.c
+++ b/src/modules/ns_noop_convert.c
@@ -68,7 +68,7 @@ class NSNOOPConvert : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(SUPPORTED);
+ moduleSetType(this, SUPPORTED);
if (mLoadConfig(0, NULL))
throw ModuleException("Couldn't load config?");
diff --git a/src/modules/os_ignore_db.c b/src/modules/os_ignore_db.c
index 1d2ad7942..e9038292f 100644
--- a/src/modules/os_ignore_db.c
+++ b/src/modules/os_ignore_db.c
@@ -86,7 +86,7 @@ class OSIgnoreDB : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(SUPPORTED);
+ moduleSetType(this, SUPPORTED);
hook = createEventHook(EVENT_RELOAD, reload_config);
if (moduleAddEventHook(hook) != MOD_ERR_OK)
diff --git a/src/modules/os_info.c b/src/modules/os_info.c
index 47d5b8937..15f940e34 100644
--- a/src/modules/os_info.c
+++ b/src/modules/os_info.c
@@ -73,7 +73,7 @@ class OSInfo : public Module
moduleAddAuthor(AUTHOR);
moduleAddVersion(VERSION);
- moduleSetType(SUPPORTED);
+ moduleSetType(this, SUPPORTED);
if (mLoadConfig())
throw ModuleException("Unable to load config");