diff options
-rwxr-xr-x | bin/efa | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ if ($restrict) { } if ($walk_speed) { - if ($walk_speed =~ /^(normal|fast|slow)$/) { + if ($walk_speed ~~ ['normal', 'fast', 'slow']) { $post{changeSpeed} = $walk_speed; } else { print STDERR "--walk-speed usage: normal / fast / slow\n"; |