summaryrefslogtreecommitdiff
path: root/src/core/cs_logout.c
diff options
context:
space:
mode:
authorrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-09 22:17:43 +0000
committerrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-09 22:17:43 +0000
commitd684f3c5567cc2471be1bf74e2ef265013b27cf8 (patch)
tree8f0d54491b78205bf1378df80fb59504679ce066 /src/core/cs_logout.c
parent3fe6a2523644b3952966b19ddb6a3fcee6a4fac2 (diff)
Moved myChanHelp so it'll compile ;)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1960 5417fbe8-f217-4b02-8779-1006273d7864
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)