From 6581a4797de9bf410a06c70b3d586fd842365c99 Mon Sep 17 00:00:00 2001 From: pk910 Date: Wed, 27 Feb 2013 21:16:05 +0100 Subject: [PATCH] bugfix in command "oset" --- src/mod-hostserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod-hostserv.c b/src/mod-hostserv.c index 845382f..5e30ed9 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(fakehost, "*")) { if(!assignment) return 0; //simply ignore (there is no assignment in use) hs_activate_assignment(hs_user, NULL); -- 2.20.1