summaryrefslogtreecommitdiff
path: root/src/modules/os_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/os_info.c')
-rw-r--r--src/modules/os_info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/os_info.c b/src/modules/os_info.c
index e7f46c55e..2d69267ae 100644
--- a/src/modules/os_info.c
+++ b/src/modules/os_info.c
@@ -80,17 +80,17 @@ class OSInfo : public Module
c = createCommand("oInfo", myAddNickInfo, is_oper, -1, -1, -1, -1, -1);
moduleAddHelp(c, mNickHelp);
- status = moduleAddCommand(NICKSERV, c, MOD_HEAD);
+ status = this->AddCommand(NICKSERV, c, MOD_HEAD);
c = createCommand("Info", myNickInfo, NULL, -1, -1, -1, -1, -1);
- status = moduleAddCommand(NICKSERV, c, MOD_TAIL);
+ status = this->AddCommand(NICKSERV, c, MOD_TAIL);
c = createCommand("oInfo", myAddChanInfo, is_oper, -1, -1, -1, -1, -1);
moduleAddHelp(c, mChanHelp);
- status = moduleAddCommand(CHANSERV, c, MOD_HEAD);
+ status = this->AddCommand(CHANSERV, c, MOD_HEAD);
c = createCommand("Info", myChanInfo, NULL, -1, -1, -1, -1, -1);
- status = moduleAddCommand(CHANSERV, c, MOD_TAIL);
+ status = this->AddCommand(CHANSERV, c, MOD_TAIL);
hook = createEventHook(EVENT_DB_SAVING, mSaveData);
status = this->AddEventHook(hook);