diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/bs_fantasy_unban.c | 4 | ||||
-rw-r--r-- | src/modules/cs_appendtopic.c | 4 | ||||
-rw-r--r-- | src/modules/cs_enforce.c | 4 | ||||
-rw-r--r-- | src/modules/cs_tban.c | 4 | ||||
-rw-r--r-- | src/modules/demos/catserv/ircd_catserv.c | 4 | ||||
-rw-r--r-- | src/modules/demos/events.c | 4 | ||||
-rw-r--r-- | src/modules/demos/hs_moo.c | 4 | ||||
-rw-r--r-- | src/modules/hs_request.c | 4 | ||||
-rw-r--r-- | src/modules/ns_maxemail.c | 4 | ||||
-rw-r--r-- | src/modules/ns_noop_convert.c | 4 | ||||
-rw-r--r-- | src/modules/os_ignore_db.c | 4 | ||||
-rw-r--r-- | src/modules/os_info.c | 4 |
12 files changed, 24 insertions, 24 deletions
diff --git a/src/modules/bs_fantasy_unban.c b/src/modules/bs_fantasy_unban.c index 6efa267de..b7ce00ebf 100644 --- a/src/modules/bs_fantasy_unban.c +++ b/src/modules/bs_fantasy_unban.c @@ -24,8 +24,8 @@ class BSFantasyUnban : public Module { EvtHook *hook; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy); diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c index 38c81987d..5737bdb4c 100644 --- a/src/modules/cs_appendtopic.c +++ b/src/modules/cs_appendtopic.c @@ -60,8 +60,8 @@ class CSAppendTopic : public Module { Command *c; - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); this->SetType(SUPPORTED); c = createCommand("APPENDTOPIC", my_cs_appendtopic, NULL, -1, -1, -1, -1, -1); diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c index 95805b6b9..adc79d2e3 100644 --- a/src/modules/cs_enforce.c +++ b/src/modules/cs_enforce.c @@ -39,8 +39,8 @@ class CSEnforce : public Module { Command *c; - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); this->SetType(SUPPORTED); c = createCommand("ENFORCE", my_cs_enforce, NULL, -1, -1, -1, -1, -1); diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c index 2ca1fa08b..f8fdb6502 100644 --- a/src/modules/cs_tban.c +++ b/src/modules/cs_tban.c @@ -51,8 +51,8 @@ class CSTBan : public Module moduleAddHelp(c, myFullHelp); moduleAddCommand(CHANSERV, c, MOD_HEAD); - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); this->SetType(SUPPORTED); const char* langtable_en_us[] = { diff --git a/src/modules/demos/catserv/ircd_catserv.c b/src/modules/demos/catserv/ircd_catserv.c index 13496de03..763ae9cec 100644 --- a/src/modules/demos/catserv/ircd_catserv.c +++ b/src/modules/demos/catserv/ircd_catserv.c @@ -38,8 +38,8 @@ int AnopeInit(int argc, char **argv) addClient(s_CatServ, "meow!"); addMessageList(); } - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); alog("ircd_catserv.so: loaded, message status [%d]", status); return MOD_CONT; } diff --git a/src/modules/demos/events.c b/src/modules/demos/events.c index ba80cf03e..25dd79fb9 100644 --- a/src/modules/demos/events.c +++ b/src/modules/demos/events.c @@ -30,8 +30,8 @@ int AnopeInit(int argc, char **argv) hook = createEventHook(EVENT_BOT_FANTASY, do_moo); status = this->AddEventHook(hook); - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); return MOD_CONT; } diff --git a/src/modules/demos/hs_moo.c b/src/modules/demos/hs_moo.c index b65e83bb6..aa8e41f7c 100644 --- a/src/modules/demos/hs_moo.c +++ b/src/modules/demos/hs_moo.c @@ -50,8 +50,8 @@ int AnopeInit(int argc, char **argv) /* This will be executed when the mod moduleAddCallback("test",time(NULL)+dotime("15s"),test,0,NULL); /* set a call-back function to exec in 3 mins time */ moduleDelCallback("test"); - moduleAddAuthor(AUTHOR); /* tell Anope about the author */ - moduleAddVersion(VERSION); /* Tell Anope about the verison */ + this->SetAuthor(AUTHOR); /* tell Anope about the author */ + this->SetVersion(VERSION); /* Tell Anope about the verison */ if(status!=MOD_ERR_OK) { return MOD_STOP; diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c index cd3672ef1..ad8d3b4be 100644 --- a/src/modules/hs_request.c +++ b/src/modules/hs_request.c @@ -120,8 +120,8 @@ class HSRequest : public Module this->AddEventHook(hook); moduleSetHostHelp(hs_help); - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); this->SetType(SUPPORTED); my_load_config(); diff --git a/src/modules/ns_maxemail.c b/src/modules/ns_maxemail.c index 20d63eb67..862bf6ab1 100644 --- a/src/modules/ns_maxemail.c +++ b/src/modules/ns_maxemail.c @@ -39,8 +39,8 @@ class NSMaxEmail : public Module EvtHook *evt; int status; - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); this->SetType(SUPPORTED); c = createCommand("REGISTER", my_ns_register, NULL, -1, -1, -1, -1, -1); diff --git a/src/modules/ns_noop_convert.c b/src/modules/ns_noop_convert.c index ef71a5be8..a4ccea7d0 100644 --- a/src/modules/ns_noop_convert.c +++ b/src/modules/ns_noop_convert.c @@ -66,8 +66,8 @@ class NSNOOPConvert : public Module { NSAutoOPDBName = NULL; - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); this->SetType(SUPPORTED); if (mLoadConfig(0, NULL)) diff --git a/src/modules/os_ignore_db.c b/src/modules/os_ignore_db.c index 580129065..1d6d11ece 100644 --- a/src/modules/os_ignore_db.c +++ b/src/modules/os_ignore_db.c @@ -84,8 +84,8 @@ class OSIgnoreDB : public Module EvtHook *hook;
IgnoreDB = NULL;
- moduleAddAuthor(AUTHOR);
- moduleAddVersion(VERSION);
+ this->SetAuthor(AUTHOR);
+ this->SetVersion(VERSION);
this->SetType(SUPPORTED);
hook = createEventHook(EVENT_RELOAD, reload_config);
diff --git a/src/modules/os_info.c b/src/modules/os_info.c index e36c04075..e7f46c55e 100644 --- a/src/modules/os_info.c +++ b/src/modules/os_info.c @@ -71,8 +71,8 @@ class OSInfo : public Module int status; - moduleAddAuthor(AUTHOR); - moduleAddVersion(VERSION); + this->SetAuthor(AUTHOR); + this->SetVersion(VERSION); this->SetType(SUPPORTED); if (mLoadConfig()) |