diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/deleteuser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deleteuser.php b/scripts/deleteuser.php index 67aea7921..52389123c 100644 --- a/scripts/deleteuser.php +++ b/scripts/deleteuser.php @@ -57,7 +57,7 @@ if (have_option('i', 'id')) { if (!have_option('y', 'yes')) { print "About to PERMANENTLY delete user '{$user->nickname}' ({$user->id}). Are you sure? [y/N] "; $response = fgets(STDIN); - if (strtolower($response) != 'y') { + if (strtolower(trim($response)) != 'y') { print "Aborting.\n"; exit(0); } |