From: NurPech Date: Wed, 27 Feb 2013 19:55:22 +0000 (+0100) Subject: bugfix in command "oset" X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=42ee491c037622a674f64e8d92867439785d8760 bugfix in command "oset" --- diff --git a/src/mod-hostserv.c b/src/mod-hostserv.c index 845382f..7c09463 100644 --- 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; } - 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);