From 0ea4b1784096e92ed94bb6a46cd050fda6b6b5b8 Mon Sep 17 00:00:00 2001 From: pk910 Date: Wed, 27 Feb 2013 21:30:50 +0100 Subject: [PATCH] fixed cmd_oset parameter handling (* might also be a valid input for the fakehost parameter) --- 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 5e30ed9..ce8a374 100644 --- a/src/mod-hostserv.c +++ b/src/mod-hostserv.c @@ -1168,7 +1168,7 @@ static MODCMD_FUNC(cmd_oset) { struct handle_info *hi; char *fakehost; struct hs_assignment *assignment; - if(!strchr(argv[1], '.')) { + if(!strchr(argv[1], '.') && strcmp(argv[1], "*")) { if (!(hi = modcmd_get_handle_info(user, argv[1]))) return 0; fakehost = argv[2]; -- 2.20.1