diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-27 07:50:32 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-27 07:50:32 +0000 |
| commit | 9d87b0f9235458169b513904ce4e220da4e29d73 (patch) | |
| tree | 3cc36b23201548bf9e429bcd646958b496ced845 /src/core | |
| parent | 5695a8b59524b58062e4874a135ee97e58cfe4ca (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/core')
| -rw-r--r-- | src/core/cs_list.c | 5 | ||||
| -rw-r--r-- | src/core/ns_list.c | 3 | ||||
| -rw-r--r-- | src/core/os_quit.c | 3 | ||||
| -rw-r--r-- | src/core/os_shutdown.c | 3 |
4 files changed, 2 insertions, 12 deletions
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; } |
