fixed cmd_oset parameter handling (* might also be a valid input for the fakehost...
authorpk910 <philipp@zoelle1.de>
Wed, 27 Feb 2013 20:30:50 +0000 (21:30 +0100)
committerpk910 <philipp@zoelle1.de>
Wed, 27 Feb 2013 20:33:59 +0000 (21:33 +0100)
src/mod-hostserv.c

index 5e30ed9f929e6ae1b08205da09a3ee41b4c33641..ce8a3745d64ad405d5ef7e8ffe4ddd696a315d4c 100644 (file)
@@ -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];