projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
328fa38
)
bugfix in command "oset"
author
pk910
<philipp@zoelle1.de>
Wed, 27 Feb 2013 20:16:05 +0000
(21:16 +0100)
committer
pk910
<philipp@zoelle1.de>
Wed, 27 Feb 2013 20:16:05 +0000
(21:16 +0100)
src/mod-hostserv.c
patch
|
blob
|
history
diff --git
a/src/mod-hostserv.c
b/src/mod-hostserv.c
index 845382f6a63c4cf717064634f677558a7ec2c34d..5e30ed9f929e6ae1b08205da09a3ee41b4c33641 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(
fakehost
, "*")) {
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);