diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 00:12:54 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 00:12:54 +0000 |
| commit | 8d4789efaaa27967f83d376ea8f6babbce6d980e (patch) | |
| tree | 5edbe6df722238e6087405309b64602a3772bf70 /src/modules | |
| parent | 68d0a515d053af8215831b4b04e7fe7b8ca8b540 (diff) | |
Convert all the derived module constructors to take the new parameter (sed must be worshipped). They still call the base constructor the wrong way.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1577 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/bs_fantasy_unban.c | 2 | ||||
| -rw-r--r-- | src/modules/cs_appendtopic.c | 2 | ||||
| -rw-r--r-- | src/modules/cs_enforce.c | 2 | ||||
| -rw-r--r-- | src/modules/cs_tban.c | 2 | ||||
| -rw-r--r-- | src/modules/hs_request.c | 2 | ||||
| -rw-r--r-- | src/modules/ns_maxemail.c | 2 | ||||
| -rw-r--r-- | src/modules/ns_noop_convert.c | 2 | ||||
| -rw-r--r-- | src/modules/os_ignore_db.c | 2 | ||||
| -rw-r--r-- | src/modules/os_info.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/bs_fantasy_unban.c b/src/modules/bs_fantasy_unban.c index c7be90e8a..195edb388 100644 --- a/src/modules/bs_fantasy_unban.c +++ b/src/modules/bs_fantasy_unban.c @@ -20,7 +20,7 @@ int do_fantasy(int argc, char **argv); class BSFantasyUnban : public Module { public: - BSFantasyUnban(const std::string &creator) : Module(creator) + BSFantasyUnban(const std::string &modname, const std::string &creator) : Module(creator) { EvtHook *hook; diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c index 59f815286..b686730eb 100644 --- a/src/modules/cs_appendtopic.c +++ b/src/modules/cs_appendtopic.c @@ -56,7 +56,7 @@ void my_add_languages(void); class CSAppendTopic : public Module { public: - CSAppendTopic(const std::string &creator) : Module(creator) + CSAppendTopic(const std::string &modname, const std::string &creator) : Module(creator) { Command *c; diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c index c19e44baf..642334fce 100644 --- a/src/modules/cs_enforce.c +++ b/src/modules/cs_enforce.c @@ -35,7 +35,7 @@ void my_add_languages(void); class CSEnforce : public Module { public: - CSEnforce(const std::string &creator) : Module(creator) + CSEnforce(const std::string &modname, const std::string &creator) : Module(creator) { Command *c; diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c index 729ad4ba1..dfe0a91c3 100644 --- a/src/modules/cs_tban.c +++ b/src/modules/cs_tban.c @@ -42,7 +42,7 @@ void mAddLanguages(void); class CSTBan : public Module { public: - CSTBan(const std::string &creator) : Module(creator) + CSTBan(const std::string &modname, const std::string &creator) : Module(creator) { Command *c; diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c index f6e10f285..73c8c3285 100644 --- a/src/modules/hs_request.c +++ b/src/modules/hs_request.c @@ -86,7 +86,7 @@ HostCore *hs_request_head; class HSRequest : public Module { public: - HSRequest(const std::string &creator) : Module(creator) + HSRequest(const std::string &modname, const std::string &creator) : Module(creator) { Command *c; EvtHook *hook; diff --git a/src/modules/ns_maxemail.c b/src/modules/ns_maxemail.c index 06daa6f12..a485803c1 100644 --- a/src/modules/ns_maxemail.c +++ b/src/modules/ns_maxemail.c @@ -33,7 +33,7 @@ int NSEmailMax = 0; class NSMaxEmail : public Module { public: - NSMaxEmail(const std::string &creator) : Module(creator) + NSMaxEmail(const std::string &modname, const std::string &creator) : Module(creator) { Command *c; EvtHook *evt; diff --git a/src/modules/ns_noop_convert.c b/src/modules/ns_noop_convert.c index 638b3117c..e2a5bc40b 100644 --- a/src/modules/ns_noop_convert.c +++ b/src/modules/ns_noop_convert.c @@ -62,7 +62,7 @@ void m_AddLanguages(void); class NSNOOPConvert : public Module { public: - NSNOOPConvert(const std::string &creator) : Module(creator) + NSNOOPConvert(const std::string &modname, const std::string &creator) : Module(creator) { NSAutoOPDBName = NULL; diff --git a/src/modules/os_ignore_db.c b/src/modules/os_ignore_db.c index 076375432..c3301d66c 100644 --- a/src/modules/os_ignore_db.c +++ b/src/modules/os_ignore_db.c @@ -79,7 +79,7 @@ int reload_config(int argc, char **argv); class OSIgnoreDB : public Module { public: - OSIgnoreDB(const std::string &creator) : Module(creator) + OSIgnoreDB(const std::string &modname, const std::string &creator) : Module(creator) { EvtHook *hook;
IgnoreDB = NULL;
diff --git a/src/modules/os_info.c b/src/modules/os_info.c index 268a3ceb1..f46137a67 100644 --- a/src/modules/os_info.c +++ b/src/modules/os_info.c @@ -64,7 +64,7 @@ int mEventReload(int argc, char **argv); class OSInfo : public Module { public: - OSInfo(const std::string &creator) : Module(creator) + OSInfo(const std::string &modname, const std::string &creator) : Module(creator) { Command *c; EvtHook *hook = NULL; |
