diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2138,19 +2138,19 @@ static int Go_polarity_42(gchar** response, int channel, char *parameter,char *u switch (command_type) { case command_withparam: if (!strcmp(parameter,"norm") || !strcmp(parameter,"normal")) { - return Set_Inverted(channel,pol_norm); + return Set_Inverted(channel,NO); } else if (!strcmp(parameter,"comp") || !strcmp(parameter,"complement") || !strcmp(parameter,"inv") || !strcmp(parameter,"inverted") ) { - return Set_Inverted(channel,pol_complement); + return Set_Inverted(channel,YES); } else { return SyntaxError; } break; case query_simple: - if (globals.ChannelState[channel].inverted==pol_norm) { + if (globals.ChannelState[channel].inverted==NO) { return query_string(response, "NORM"); } else { return query_string(response, "COMP"); |