diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-13 03:58:37 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-13 03:58:37 +0000 |
commit | f4cc123f16d37cbfc70c7c5893ee37a0c984e668 (patch) | |
tree | 49e565afa1e92d0413a6548120bed8348aba51dc /src/core/os_umode.c | |
parent | e3486a3e4bca3a72babc81bb9b916ef702f6779e (diff) |
Removed super admin requirement for operserv/umode operserv/oline and operserv/svsnick, and replaced with opertype command strings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2502 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/os_umode.c')
-rw-r--r-- | src/core/os_umode.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/os_umode.c b/src/core/os_umode.c index 353838eae..9868f4653 100644 --- a/src/core/os_umode.c +++ b/src/core/os_umode.c @@ -18,7 +18,7 @@ class CommandOSUMode : public Command { public: - CommandOSUMode() : Command("UMODE", 2, 2) + CommandOSUMode() : Command("UMODE", 2, 2, "operserv/umode") { } @@ -29,13 +29,6 @@ class CommandOSUMode : public Command User *u2; - /* Only allow this if SuperAdmin is enabled */ - if (!u->isSuperAdmin) - { - notice_lang(s_OperServ, u, OPER_SUPER_ADMIN_ONLY); - return MOD_CONT; - } - /** * Only accept a +/- mode string *-rob |