summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.c b/src/users.c
index d0df61c83..b218c765a 100644
--- a/src/users.c
+++ b/src/users.c
@@ -670,7 +670,7 @@ void do_umode2(const char *source, int ac, char **av)
return;
}
- anope_set_umode(user, ac - 1, &av[0]);
+ anope_set_umode(user, ac, &av[0]);
}
/*************************************************************************/