X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fdict.rb;h=ca5f25882147c94cb7c268cb5d27e31dda216fa6;hb=9a565bfd48c59ac9c1b37d5afe9b8640889632ff;hp=6d35bd651b496dd2bbe1029925fa70f8b76878fb;hpb=7ab3595d60d2232b003049686403ee8add8e547d;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/dict.rb b/data/rbot/plugins/dict.rb index 6d35bd65..ca5f2588 100644 --- a/data/rbot/plugins/dict.rb +++ b/data/rbot/plugins/dict.rb @@ -115,7 +115,7 @@ class DictPlugin < Plugin if h and h.match(%r!

#{word}(?:1)?

!) m.reply("#{word} : #{url}") unless justcheck defn = $' - m.reply("#{Bold}%s#{Bold}: %s" % [word, defn.ircify_html], :overlong => :truncate) + m.reply("#{Bold}%s#{Bold}: %s" % [word, defn.ircify_html(:nbsp => :space)], :overlong => :truncate) return true end }