summaryrefslogtreecommitdiff
path: root/src/modules/cs_enforce.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 17:00:55 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 17:00:55 +0000
commit1072827648ad8809d32f23f5835698ba36690305 (patch)
tree3a1a3784790a71a9c7dd020bcfa55834478f00a8 /src/modules/cs_enforce.c
parent21d89df8dd934b3d64ef9910de5ea2ab27a878ab (diff)
Move moduleAddCommand and moduleDelCommand to Module:: members.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1597 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/cs_enforce.c')
-rw-r--r--src/modules/cs_enforce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c
index adc79d2e3..31dd089d0 100644
--- a/src/modules/cs_enforce.c
+++ b/src/modules/cs_enforce.c
@@ -44,7 +44,7 @@ class CSEnforce : public Module
this->SetType(SUPPORTED);
c = createCommand("ENFORCE", my_cs_enforce, NULL, -1, -1, -1, -1, -1);
- moduleAddCommand(CHANSERV, c, MOD_HEAD);
+ this->AddCommand(CHANSERV, c, MOD_HEAD);
moduleAddHelp(c, my_cs_help_enforce);
moduleSetChanHelp(my_cs_help);