summaryrefslogtreecommitdiff
path: root/src/modules/demos
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/demos')
-rw-r--r--src/modules/demos/catserv/ircd_catserv.c4
-rw-r--r--src/modules/demos/events.c4
-rw-r--r--src/modules/demos/hs_moo.c4
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;