summaryrefslogtreecommitdiff
path: root/src/modules/demos/hs_moo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/demos/hs_moo.c')
-rw-r--r--src/modules/demos/hs_moo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/demos/hs_moo.c b/src/modules/demos/hs_moo.c
index aa8e41f7c..61210271b 100644
--- a/src/modules/demos/hs_moo.c
+++ b/src/modules/demos/hs_moo.c
@@ -34,7 +34,7 @@ int AnopeInit(int argc, char **argv) /* This will be executed when the mod
moduleSetHostHelp(myHostServHelp); /* add us to the .hs help list */
- status = moduleAddCommand(HOSTSERV, c, MOD_HEAD); /* Add the command to the HOSTSERV cmd table */
+ status = this->AddCommand(HOSTSERV, c, MOD_HEAD); /* Add the command to the HOSTSERV cmd table */
/* Check if we have any argv's */
if(argc>0) {