summaryrefslogtreecommitdiff
path: root/src/core/ns_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_access.c')
-rw-r--r--src/core/ns_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_access.c b/src/core/ns_access.c
index 19f2c1a86..8e32d9919 100644
--- a/src/core/ns_access.c
+++ b/src/core/ns_access.c
@@ -30,7 +30,7 @@ class NSAccess : public Module
this->SetType(CORE);
c = createCommand("ACCESS", do_access, NULL, NICK_HELP_ACCESS, -1, -1, -1, -1);
- moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
+ this->AddCommand(NICKSERV, c, MOD_UNIQUE);
moduleSetNickHelp(myNickServHelp);
}