proxycheck.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- proxycheck-0.49a.orig/proxycheck.c
+++ proxycheck-0.49a/proxycheck.c
@@ -406,7 +406,10 @@
if (p)
check_arg = p + 1, *p = ':';
else
- check_arg = NULL;
+ if (strcmp(optarg, "chat") == 0)
+ usage("this check requires parameters");
+ else
+ check_arg = NULL;
break;
case 'b':