diff options
-rw-r--r-- | data/rbot/plugins/quiz.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/data/rbot/plugins/quiz.rb b/data/rbot/plugins/quiz.rb index 95515ae3..2c917c0b 100644 --- a/data/rbot/plugins/quiz.rb +++ b/data/rbot/plugins/quiz.rb @@ -376,14 +376,7 @@ class QuizPlugin < Plugin # def unhilight_nick( nick ) return nick unless @bot.config['quiz.dotted_nicks'] - new_nick = "" - - 0.upto( nick.length - 1 ) do |i| - new_nick += nick[i, 1] - new_nick += "." unless i == nick.length - 1 - end - - return new_nick + return nick.split(//).join(".") end |