From 9d87b0f9235458169b513904ce4e220da4e29d73 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sun, 27 Sep 2009 07:50:32 +0000 Subject: 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 --- src/core/cs_list.c | 5 +---- src/core/ns_list.c | 3 +-- src/core/os_quit.c | 3 --- src/core/os_shutdown.c | 3 --- 4 files changed, 2 insertions(+), 12 deletions(-) (limited to 'src/core') diff --git a/src/core/cs_list.c b/src/core/cs_list.c index 80d2c4749..c6d2f8225 100644 --- a/src/core/cs_list.c +++ b/src/core/cs_list.c @@ -189,10 +189,7 @@ public: } void ChanServHelp(User *u) { - if (!CSListOpersOnly || (is_oper(u))) - { - notice_lang(s_ChanServ, u, CHAN_HELP_CMD_LIST); - } + notice_lang(s_ChanServ, u, CHAN_HELP_CMD_LIST); } }; diff --git a/src/core/ns_list.c b/src/core/ns_list.c index 77fcdbd16..f32a3460f 100644 --- a/src/core/ns_list.c +++ b/src/core/ns_list.c @@ -223,8 +223,7 @@ class NSList : public Module } void NickServHelp(User *u) { - if (!NSListOpersOnly || is_oper(u)) - notice_lang(s_NickServ, u, NICK_HELP_CMD_LIST); + notice_lang(s_NickServ, u, NICK_HELP_CMD_LIST); } }; diff --git a/src/core/os_quit.c b/src/core/os_quit.c index d2e6b0daf..970b37c49 100644 --- a/src/core/os_quit.c +++ b/src/core/os_quit.c @@ -39,9 +39,6 @@ class CommandOSQuit : public Command bool OnHelp(User *u, const ci::string &subcommand) { - if (!u->nc->HasCommand("operserv/quit")) - return false; - notice_help(s_OperServ, u, OPER_HELP_QUIT); return true; } diff --git a/src/core/os_shutdown.c b/src/core/os_shutdown.c index 05697ac37..540d3121c 100644 --- a/src/core/os_shutdown.c +++ b/src/core/os_shutdown.c @@ -40,9 +40,6 @@ class CommandOSShutdown : public Command bool OnHelp(User *u, const ci::string &subcommand) { - if (!u->nc->HasCommand("operserv/shutdown")) - return false; - notice_help(s_OperServ, u, OPER_HELP_SHUTDOWN); return true; } -- cgit