summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-27 07:50:32 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-27 07:50:32 +0000
commit9d87b0f9235458169b513904ce4e220da4e29d73 (patch)
tree3cc36b23201548bf9e429bcd646958b496ced845 /src/modules
parent5695a8b59524b58062e4874a135ee97e58cfe4ca (diff)
Fixed the remaining commands to always show all users help and to appear in the command list
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2520 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/os_info.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/modules/os_info.c b/src/modules/os_info.c
index c839e8635..10bf6a557 100644
--- a/src/modules/os_info.c
+++ b/src/modules/os_info.c
@@ -125,9 +125,6 @@ class CommandNSOInfo : public Command
bool OnHelp(User *u, const ci::string &subcommand)
{
- if (!is_oper(u))
- return false;
-
me->NoticeLang(s_NickServ, u, OINFO_HELP);
return true;
}
@@ -202,9 +199,6 @@ class CommandCSOInfo : public Command
bool OnHelp(User *u, const ci::string &subcommand)
{
- if (!is_oper(u))
- return false;
-
me->NoticeLang(s_ChanServ, u, OCINFO_HELP);
return true;
}
@@ -611,14 +605,12 @@ class OSInfo : public Module
void NickServHelp(User *u)
{
- if (is_oper(u))
- this->NoticeLang(s_NickServ, u, OINFO_HELP_CMD);
+ this->NoticeLang(s_NickServ, u, OINFO_HELP_CMD);
}
void ChanServHelp(User *u)
{
- if (is_oper(u))
- this->NoticeLang(s_ChanServ, u, OCINFO_HELP_CMD);
+ this->NoticeLang(s_ChanServ, u, OCINFO_HELP_CMD);
}
};