diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-23 16:44:12 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-23 16:44:12 -0500 |
commit | 2a6ccce070277c8c278a2e8403f45394eec06f91 (patch) | |
tree | dbd4cbeadff72746a44e36a3d6c434bbeb70e642 | |
parent | d377c828ef381d8e53daf9d4f552f4a62f7cb725 (diff) |
fix `keysmash` - join chunks
-rw-r--r-- | app/lib/bangtags.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 89ec5220d..e1ad79be6 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -543,6 +543,7 @@ class Bangtags chunk = rand(6..33).times.collect do keyboard[(keyboard.size * (rand ** 3)).floor].split('').sample end + chunk = chunk.join when 'admin' chunk = nil next unless @account.user.admin? |