summaryrefslogtreecommitdiff
path: root/src/core/cs_modes.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 01:59:21 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 01:59:21 +0000
commit84d789c72b97513ec02a4e115b90cc952fadea64 (patch)
tree92ed7471914f52e0de08c639e1f26d78edd1d409 /src/core/cs_modes.c
parent6d835a6e49d41d8353ee8506dc6d7cf7b3f1047a (diff)
Replaced notice_lang with notice_help in all OnHelp() functions in modules. Also fixed a few smaller issues regarding the help in the modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2053 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_modes.c')
-rw-r--r--src/core/cs_modes.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/cs_modes.c b/src/core/cs_modes.c
index 183ebe029..25617fffb 100644
--- a/src/core/cs_modes.c
+++ b/src/core/cs_modes.c
@@ -133,7 +133,7 @@ class CommandCSOp : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_OP);
+ notice_help(s_ChanServ, u, CHAN_HELP_OP);
return true;
}
};
@@ -154,7 +154,7 @@ class CommandCSDeOp : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_DEOP);
+ notice_help(s_ChanServ, u, CHAN_HELP_DEOP);
return true;
}
};
@@ -175,7 +175,7 @@ class CommandCSVoice : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_VOICE);
+ notice_help(s_ChanServ, u, CHAN_HELP_VOICE);
return true;
}
};
@@ -196,7 +196,7 @@ class CommandCSDeVoice : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_DEVOICE);
+ notice_help(s_ChanServ, u, CHAN_HELP_DEVOICE);
return true;
}
};
@@ -223,7 +223,7 @@ class CommandCSHalfOp : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_HALFOP);
+ notice_help(s_ChanServ, u, CHAN_HELP_HALFOP);
return true;
}
};
@@ -249,7 +249,7 @@ class CommandCSDeHalfOp : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_DEHALFOP);
+ notice_help(s_ChanServ, u, CHAN_HELP_DEHALFOP);
return true;
}
};
@@ -275,7 +275,7 @@ class CommandCSProtect : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_PROTECT);
+ notice_help(s_ChanServ, u, CHAN_HELP_PROTECT);
return true;
}
};
@@ -302,7 +302,7 @@ class CommandCSDeProtect : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_DEPROTECT);
+ notice_help(s_ChanServ, u, CHAN_HELP_DEPROTECT);
return true;
}
};
@@ -356,7 +356,7 @@ class CommandCSOwner : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_OWNER);
+ notice_help(s_ChanServ, u, CHAN_HELP_OWNER);
return true;
}
};
@@ -409,7 +409,7 @@ class CommandCSDeOwner : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_ChanServ, u, CHAN_HELP_DEOWNER);
+ notice_help(s_ChanServ, u, CHAN_HELP_DEOWNER);
return true;
}
};