Commit 39dfe936 authored by Côme Chilliet's avatar Côme Chilliet Committed by Mortier Benoit
Browse files

Fixed a few styling problems

parent a0a406c0
......@@ -715,12 +715,12 @@ class plugin
}
$res = '';
for ($i = 0; $i < $args[0]; ++$i) {
switch($chars) {
switch ($chars) {
case 'l':
$res .= (string)rand(0,9);
$res .= (string)rand(0, 9);
break;
case 'd':
$nb = mt_rand(65,116);
$nb = mt_rand(65, 116);
if ($nb > 90) {
/* lowercase */
$nb += 6;
......@@ -729,7 +729,7 @@ class plugin
break;
case 'b':
default:
$nb = mt_rand(65,126);
$nb = mt_rand(65, 126);
if ($nb > 116) {
/* digit */
$nb = (string)($nb - 117);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment