projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix in command "oset"
[srvx.git]
/
src
/
mod-hostserv.c
diff --git
a/src/mod-hostserv.c
b/src/mod-hostserv.c
index 845382f6a63c4cf717064634f677558a7ec2c34d..7c09463e3ef8022f7f4ffb53057a80e657f177b4 100644
(file)
--- a/
src/mod-hostserv.c
+++ b/
src/mod-hostserv.c
@@
-1190,7
+1190,7
@@
static MODCMD_FUNC(cmd_oset) {
reply("HSMSG_ACCESS_DENIED");
return 0;
}
reply("HSMSG_ACCESS_DENIED");
return 0;
}
- if(!strcmp(argv[
1
], "*")) {
+ if(!strcmp(argv[
2
], "*")) {
if(!assignment)
return 0; //simply ignore (there is no assignment in use)
hs_activate_assignment(hs_user, NULL);
if(!assignment)
return 0; //simply ignore (there is no assignment in use)
hs_activate_assignment(hs_user, NULL);