summaryrefslogtreecommitdiff
path: root/src/core/os_umode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/os_umode.c')
-rw-r--r--src/core/os_umode.c9
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