diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 01:54:17 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 01:54:17 +0000 |
| commit | 1c3b8e15c2c5ab96146ddc7573cf5d05f28967fe (patch) | |
| tree | 4f6a0a688c8a3874c850826c12bd972082d0bfa1 /src/modules/demos | |
| parent | 7bac547f555a5ec93a89a3433ae74152dbbc3e89 (diff) | |
moduleAddVersion -> Module::SetVersion
moduleAddAuthor -> Module::SetAuthor
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1590 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/demos')
| -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 |
3 files changed, 6 insertions, 6 deletions
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; |
