Fix missing equals

This commit is contained in:
Dave Davenport 2016-05-30 10:27:58 +02:00
parent 1b5bcaa9f4
commit 0fb7258470
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ static int add_mode ( const char * token )
modi[num_modi] = &ssh_mode;
num_modi++;
}
else if ( strcasecmp ( token, mode_get_name ( &help_keys_mode ) ) ) {
else if ( strcasecmp ( token, mode_get_name ( &help_keys_mode ) ) == 0 ) {
modi[num_modi] = &help_keys_mode;
num_modi++;
}