fix cut-n-paste error
authorBrendan O'Dea <bod@optus.net>
Wed, 1 Dec 2004 03:37:20 +0000 (03:37 +0000)
committerBrendan O'Dea <bod@optus.net>
Wed, 1 Dec 2004 03:37:20 +0000 (03:37 +0000)
throttlectl.c

index 9e0ca34..9b89b96 100644 (file)
@@ -5,7 +5,7 @@
 
 /* throttle control */
 
-char const *cvs_id = "$Id: throttlectl.c,v 1.3 2004-11-18 06:41:03 bodea Exp $";
+char const *cvs_id = "$Id: throttlectl.c,v 1.4 2004-12-01 03:37:20 bodea Exp $";
 
 int plugin_api_version = PLUGIN_API_VERSION;
 static struct pluginfuncs *p = 0;
@@ -44,7 +44,7 @@ int plugin_control(struct param_control *data)
        if (!data->iam_master)
                return PLUGIN_RET_NOTMASTER;
 
-       flag = data->argv[0][0] != 'g';
+       flag = data->argv[0][0] == 't';
 
        if (flag)
        {