summaryrefslogtreecommitdiff
path: root/src/core/cs_logout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_logout.c')
-rw-r--r--src/core/cs_logout.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/core/cs_logout.c b/src/core/cs_logout.c
index ce38cabd2..f971e6d73 100644
--- a/src/core/cs_logout.c
+++ b/src/core/cs_logout.c
@@ -15,6 +15,16 @@
#include "module.h"
+/**
+ * Add the help response to anopes /cs help output.
+ * @param u The user who is requesting help
+ **/
+void myChanServHelp(User * u)
+{
+ notice_lang(s_ChanServ, u, CHAN_HELP_CMD_LOGOUT);
+}
+
+
class CommandCSLogout : public Command
{
private:
@@ -131,13 +141,5 @@ class CSLogout : public Module
};
-/**
- * Add the help response to anopes /cs help output.
- * @param u The user who is requesting help
- **/
-void myChanServHelp(User * u)
-{
- notice_lang(s_ChanServ, u, CHAN_HELP_CMD_LOGOUT);
-}
MODULE_INIT("cs_logout", CSLogout)