diff options
-rw-r--r-- | data/rbot/plugins/urban.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/urban.rb b/data/rbot/plugins/urban.rb index b8177e65..5aae26c6 100644 --- a/data/rbot/plugins/urban.rb +++ b/data/rbot/plugins/urban.rb @@ -35,7 +35,7 @@ class UrbanPlugin < Plugin return m.reply "#{Bold}#{word}#{Bold} not found" if rv.empty? if notfound - suggestions = rv.map { |s| "#{Underline}#{s[1]}#{Underline}" }.join(', ') + suggestions = rv.map { |s| Underline + s[1] + Underline }.uniq.join ', ' m.reply "#{Bold}#{word}#{Bold} not found. maybe you mean #{suggestions}?" return end |