summaryrefslogtreecommitdiff
path: root/src/core/cs_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_set.cpp')
-rw-r--r--src/core/cs_set.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/cs_set.cpp b/src/core/cs_set.cpp
index 71136bc2b..f169e2264 100644
--- a/src/core/cs_set.cpp
+++ b/src/core/cs_set.cpp
@@ -812,6 +812,11 @@ class CommandCSSet : public Command
syntax_error(Config.s_ChanServ, u, command.c_str(), reply);
}
+
+ void OnServHelp(User *u)
+ {
+ notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_SET);
+ }
};
class CSSet : public Module
@@ -823,12 +828,6 @@ class CSSet : public Module
this->SetVersion(VERSION_STRING);
this->SetType(CORE);
this->AddCommand(ChanServ, new CommandCSSet());
-
- ModuleManager::Attach(I_OnChanServHelp, this);
- }
- void OnChanServHelp(User *u)
- {
- notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_SET);
}
};